Re: Maximum number of sockets - FD_SETSIZE
am 09.09.2006 04:56:34 von Sisyphus
"A Ma" wrote in message news:45017ad0@kcnews01...
> I am using ActiveState Perl under Windows. The default maximum number of
> sockets that I can open is limited to 64 by default. I found the parameter
> PERL_FD_SETSIZE in c:\perl\lib\core\sys\socket.h. I changed that number
but
> it did not take effect. Is there something else I need to change?
>
>
You would need to alter the value in the perl source and then re-compile
perl.
There might be a way of overriding that value .... I don't know. I would
expect it has been set to 64 for a good reason.
Btw, when you post to both comp.lang.perl.modules and comp.lang.perl.misc
it's better to do it as a cross-post (rather than as separate posts as you
have done). That way, any response you get from either group shows up on
*both* groups. This reply will not appear on c.l.p.misc ... and replies from
c.l.p.misc will not show up here.
Cheers,
Rob