The application I`m writting will receive messages on a TCP Socket. These messages will be in XML format.
So far I`ve not been able to come up with a satisfactory solution. The best I`ve been able to do is to pass a SocketStream to a DOMParser via InputSource. This won`t work for me because the doc on InputSource says the input stream is closed and I don`t want to socket to be closed. Unless InputSource/SocketStream`s input stream is independant of the socket ?