This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

What is the server expecting to see? Whatever it is, that's what you should do.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: sending xml over tcp/ip