[xml] xmlTextReader on a socket
- From: "Bruce A. Johnson" <bjohnson blueridgenetworks com>
- To: xml gnome org
- Subject: [xml] xmlTextReader on a socket
- Date: Mon, 01 May 2006 11:03:18 -0400
I am looking at the idea of receiving input for xmlTextReader on a
network socket connection. I've only done a little bit of programming
with sockets, but I remember that it's possible for the task on the
receiving end to receive an end-of-data response when he issues a read
and the sender has not sent all the data yet. The way I've dealt with
it before is to issue a select() on the socket, and then to read some
more when the select() says there is more data.
Does anyone know how xmlTextReader handles this condition on sockets?
Or am I an idiot for even considering this?
Bruce A. Johnson
Have a place for everything and keep the thing somewhere else;
this is not advice, it is merely custom. -- Mark Twain
[Date Prev][Date Next
] [Thread Prev][Thread Next