C
Craig Traxler
What causes ReadXml to return? I have a java application that is writing an
xml stream to a socket. I am using VB .Net to read the stream into a
dataset. The problem is that the call to ReadXml does not return until the
writer closes the socket. Just flushing the buffer is not sufficient. I
put breakpoints in both applications and the stream returns DataAvailable as
True in VB when the writer flushes the buffer but ReadXml continues to wait
for something. If the writer closes the connection ReadXml processes the
stream fine and I am able to work with the dataset. Any insights anyone?
xml stream to a socket. I am using VB .Net to read the stream into a
dataset. The problem is that the call to ReadXml does not return until the
writer closes the socket. Just flushing the buffer is not sufficient. I
put breakpoints in both applications and the stream returns DataAvailable as
True in VB when the writer flushes the buffer but ReadXml continues to wait
for something. If the writer closes the connection ReadXml processes the
stream fine and I am able to work with the dataset. Any insights anyone?