aspose file tools*
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
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Socket Java outputStream" Watch "Socket Java outputStream" New topic
Author

Socket Java outputStream

Pauline Chevalier
Greenhorn

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
Greenhorn

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Socket Java outputStream