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 accepts. http://msdn.microsoft.com/en-us/library/ms687025.aspx Are you trying to do asynchronous socket I/O? You should probably be using the built-in Python mechanism for that, in the "asyncore" module. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32