Maximum number of sockets - FD_SETSIZE

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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?

Re: Maximum number of sockets - FD_SETSIZE

Quoted text here. Click to load it

You would need to alter the value in the perl source and then re-compile

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.


Re: Maximum number of sockets - FD_SETSIZE

A Ma multiposted.

Pleas don't.

Site Timeline