here it is
sock.Connect(addr);
NetworkStream strm = new NetworkStream(sock,false);
XmlTextReader rdr = new XmlTextReader(strm);
rdr.Read(); // the program blocks here until the sock is closed
or
sock.Connect(addr);
NetworkStream strm = new NetworkStream(sock,false);
XmlDocument xdoc = new XMLDocument();
xdoc.Load(strm); // it blocks here
The server is working ok and sends the xml messages to the client.
"Peter Theill" <th****@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Lets see some code. It sounds like you're on the right path but you
might need to add a "flush()" call in order to avoid buffering in your
stream but gimme your code, me wants it.
Rgd,
Peter Theill