[Twisted-Python] WaitForMultipleObjects socket limitation

anatoly techtonik techtonik at gmail.com
Thu Apr 7 12:16:11 EDT 2011


Hi,

I've made a proof of concept for asynchronous console input on Windows
[1] and now I am trying to understand the limits of
WaitForMultipleObjects API I've used.

Documentation on win32eventreactor mentions limit for 64 objects:
http://twistedmatrix.com/documents/11.0.0/api/twisted.internet.win32eventreactor.htm
However, it is completely opaque what these objects are? For console
handles and process handles it is quite obvious, but not for sockets.

Is 64 the limit for total amount sockets opened on different ports?
Is 64 the limit for connections made to a socket on specified port?

1. http://techtonik.rainforce.org/2011/03/asynchronous-input-from-windows-console.html
--
anatoly t.



More information about the Twisted-Python mailing list