Re: [python-win32] win32event.WaitForMultipleObjects and sockets

2011-05-26 Thread David Markey
I cant seem to find WSACreateEvent anywhere, is it exposed? There is win32event.CreateEvent but it takes 4 arguments. I can find win32file.WSAEventSelect alright. On 26 May 2011 10:05, Amaury Forgeot d'Arc wrote: > 2011/5/26 David Markey : > > Hi All, > > Sorry f

[python-win32] win32event.WaitForMultipleObjects and sockets

2011-05-26 Thread David Markey
Hi All, Sorry for the n00b question... With win32event.WaitForMultipleObjects, I dont seem to be able to give it a plain socket object. How can I create a PyHANDLE from a socket? In [26]: int = WaitForMultipleObjects([so],False,1) ---