aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Guys, need help on tcp socket (Urgent) 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 "Guys, need help on tcp socket (Urgent)" Watch "Guys, need help on tcp socket (Urgent)" New topic
Author

Guys, need help on tcp socket (Urgent)

john can
Greenhorn

Joined: Jul 20, 2004
Posts: 19



Referring above, the client works perfectly.
If u guys try to key in any text, they will recombined become
STX,1,3,roger,textETX. The text will be sent to the server and the server responces.

But my current problem, the server always replies with [1024] byte stream data. I have tried to do some replacement, but seems failed. Please advice.

Thanks in advance.
john can
Greenhorn

Joined: Jul 20, 2004
Posts: 19
i have solved tht prob by luck.. n e way, thanks for reading

 
Don't get me started about those stupid light bulbs.
 
subject: Guys, need help on tcp socket (Urgent)