[python-win32] win32event.WaitForMultipleObjects and sockets
David Markey
admin at dmarkey.com
Thu May 26 10:36:09 CEST 2011
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,10000)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
C:\Users\davidmar\<ipython console> in <module>()
TypeError: Handles must be a list of integers
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20110526/b8bf03d4/attachment.html>
More information about the python-win32
mailing list