Le vendredi 12 septembre 2008 à 11:43 +0200, Paolo Bonzini a écrit : > > I think a few simple case would not be particularly hard to write: > > - non connected socket > > - socket data detection > > I will try to do something like that.
Thanks! > > That would help a lot in testing and reporting problem for your new > > Win32 module. I'm testing under wine, and the condition really are > > suboptimal. > > Indeed, thanks for doing it. I could try installing wine too. > > > BTW your current module disable select() emulation on WIN32 platform, > > which prevent me from compiling the application I'm using for testing - > > so an unit test would really be welcome. > > What do you mean by "disable select() emulation on WIN32 platform?" The > socket enhancements disable select, but it shouldn't affect an > application that uses poll. If you get compilation errors in an > application, please report them. The application in question both use poll() and select(), in different place for different usage. In certain condition, select() might be more practical to use (from an API standpoint) than poll(). -- Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies Tel: +33 (0)8 70 70 21 58 Fax: +33(0)4 78 42 21 58 http://www.prelude-ids.com
