On Thu, Oct 25, 2007 at 07:58:49PM -0700, Joshua N Pritikin <[EMAIL PROTECTED]>
wrote:
> I'm a big fan Event... mainly because it works with great stability on
> both Win32 & Linux. There's only one thing bugging me... On Linux then
> Event can handle into the high hundreds of sockets before things start
> to get too slow. However, on Win32 there seems to be a limitation of
> 64 sockets...
Thats due to windows limitations, you can recompile Event with
FD_SETSIZE=1024 or so (but this makes it even slower).
> being used. Do you know a work around for this? If not then is there
> any chance of you implementing Win32 IOCP into Event?
IOCP are not really event-based, they are I/O based, so they cannot sensibly
be integrated into Event as the models are completely different.
> I was always hoping that he might build it into libevent (which also
> suffers from the 64 handle limit problem on Win32).
There is a replacement library called libev which doesn't suffer from
that, and also has a perl module interface.
Btw., libevent also has an event-based model and is incompatible to iocp
for its event core (there is a buffering module that could use it for I/O,
though).
> libevent sources. Anyway, is there any chance of building his library
> directly into Event?
Unlikely, as the library doesn't deliver events for I/O readyness, which is
all that Event is about.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED]
-=====/_/_//_/\_,_/ /_/\_\