File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "sending xml over tcp/ip" Watch "sending xml over tcp/ip" New topic

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

Joined: Oct 14, 2005
Posts: 19973

What is the server expecting to see? Whatever it is, that's what you should do.
I agree. Here's the link:
subject: sending xml over tcp/ip
It's not a secret anymore!