Maximum number of sockets - FD_SETSIZE

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?
A Ma [ Fr, 08 September 2006 16:14 ] [ ID #1460166 ]

Re: Maximum number of sockets - FD_SETSIZE

"A Ma" <angusma [at] attglobal.net> wrote in message news:45017ad0 [at] 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
Sisyphus [ Sa, 09 September 2006 04:56 ] [ ID #1460877 ]

Re: Maximum number of sockets - FD_SETSIZE

A Ma multiposted.

Pleas don't.
nobull67 [ Sa, 09 September 2006 09:48 ] [ ID #1460878 ]
Perl » comp.lang.perl.modules » Maximum number of sockets - FD_SETSIZE

Vorheriges Thema: WWW:Mechanize with Menu
Nächstes Thema: Template Toolkit Beautifer