wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes Socket Java outputStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Socket Java outputStream" Watch "Socket Java outputStream" New topic

Socket Java outputStream

Pauline Chevalier

Joined: Mar 06, 2012
Posts: 7
Hello ,
I am a beginner in using socket. I want to connect and send commmand to a module. I have it's ip adress and the port on which it is waiting for commands. Assume that String cmd is the command I want to send to the module.

But the module doesn't receive any command. Can someone help me to understand why?

ps: sorry for my english , I am french
Don Ho

Joined: Mar 07, 2012
Posts: 9

What exactly is "a module"? Do you have code for that, too? Have you tested it running on the same machine with localhost as ip address?
It is sorta covered in the JavaRanch Style Guide.
subject: Socket Java outputStream
Similar Threads
sockets: How to receive server response in client
connection refused
Connection Refused Error
Help Debugging my TCP client server program to solve the producer consumer problem
hi some one help