This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes sending xml over tcp/ip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "sending xml over tcp/ip" Watch "sending xml over tcp/ip" New topic
Author

sending xml over tcp/ip

luri ron
Ranch Hand

Joined: Dec 11, 2008
Posts: 87
if i send a xml over tcp/ip, what is the best way to tell the server that this is the end of the xml data? i am writing this using java tcp socket class.
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19693
    
  10

What is the server expecting to see? Whatever it is, that's what you should do.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: sending xml over tcp/ip
 
It's not a secret anymore!