David Markey wrote:
> 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?
Sockets and file handles are not among the list of objects that
WaitForMultipleObjects
2011/5/26 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.
According to msdn:
"""The WSACreateEvent function creates a manual-reset event object
with an initial
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 for the n00b question...
> > Wi
2011/5/26 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?
It won't work like this, because a socket has several things you
can wait for (availab
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)
---