Using Sockets and XML
Hi,
I have a problem of interleaving XML messages in a socket.
The problem revolves around sending a client command being issued through sockets to a server program which then bundles the answer back as an XML data stream back through sockets.
Now if a user issues one command say X and then straight away another command called Y, the server tries answering the first command but the response contains many X responses so response Y gets interleaved in between responses X.
All responses are in XML format.
Is there any known ways to overcome this problem or can anyone help me out please !!!
Help greatfully appreciated !!!

