Anders Boström <> wrote:
> Hej,
> I have a server implemented in Perl.
> It handles multiple connection with the use of "IO::Select".
> 
> All work well with the first 63 concurrent clients, but if client 64
> and upwards sends messages, they will not be seen on the server as
> long as the other 63 client are connected to the server. Is there a
> limit that I have hit, or whats going on?  
> I have tested it on Win XP, and Win Server 2003.
> 
> I have made a small demo program (based on a tutorial snippet I
>    found) that illustrates the problem.
> http://www.mollehem.se/bilder/socketDemo.zip 
> It consist of one server and one client.
> The client opens 100 connections. Then it starts sending "ping" on
> each connection. 1-63 can be seen on the server side, but not 64-100. 
> Then the client starts closing the connections, and for each closed
> connection, one more ping is seen on the server! 
> 
> I would be very happy for an explanation!

64 is the default limit on the number of file handles that you can call select 
with in win32. According to the doco ("ActivePerl 5.10 Change Log"), this was 
increased to 2000 for build 1001, so you might want to upgrade your Perl.

HTH

-- 
Brian Raven 
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient or have received this e-mail in error, please advise 
the sender immediately by reply e-mail and delete this message and any 
attachments without retaining a copy.

Any unauthorised copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to