[xml] xmlReaderForIO and non-blocking socket
- From: "Julien Billon" <julien billon gmail com>
- To: xml gnome org
- Subject: [xml] xmlReaderForIO and non-blocking socket
- Date: Mon, 5 May 2008 17:25:01 +0200
Hello, this is the first time I use libxml2 and I'd like to get it
work with a non-blocking socket and the xmlReaderForIo(). I managed to
use it with a blocking socket : I perform a recv() in the
ReadCallback() but if the callback return 0 or -1 (because the socket
will block so no data can be read), xmlTextReaderRead() returns -1.
Has someone already has the same consideration?
Regards,
Julien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]