W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

windows sockets/eventloop ? how ??

From: Roland Bickel <r.bickel@cmg.nl>
Date: Mon, 2 Jul 2001 15:42:41 +0200
Message-ID: <3177CCDB4298D311B3CC0050043AF430946EAF@NL-UTH-MAIL02>
To: "'www-lib@w3.org'" <www-lib@w3.org>

Hello fellow libwww 'ers.. i've got a question (again)

here goes:

I've got some source code which looks roughly like this under Unix:

	S = socket(...);

	/* Set socket to nonblocking */

	E = HTEvent_new(function, data, 0, -1);

	HTEventregister(S, HTEvent_READ, E);

	/* More stuff */


which causes function(data) to be called on the appropriate time..

This works fine for me.. but now i want it to work under Windows as well...
How do I do that ? I tried HTEventList_register(..), but that doesn't seem
to work.. Any help would be greatly appreciated.

Kind regards,
Roland Bickel
Received on Monday, 2 July 2001 09:42:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC