[Twisted-Python] Dual Reactor Script
andrew-twisted at puzzling.org
Thu Oct 30 20:16:58 EST 2003
On Thu, Oct 30, 2003 at 07:27:23AM -0500, Christopher Armstrong wrote:
> : Some reactors, like win32eventreactor (which *isn't* used by
> default, on Windows: SelectReactor is), have arbitrary limits. I think
> you can only have 64 connections in that one, or something like that.
But on Windows, select is limited to 64 sockets as well (I suspect it simply
calls WaitForMultipleObjects under the hood...). You need to use threads or
IO Completion Ports to overcome this limit.
More information about the Twisted-Python