ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
Hitting a maximum number of SOCKET connections?
by Anders Bostrom other posts by this author
Nov 3 2009 7:04AM messages near this date
view in the new Beta List Site
Re: Imager 0.7 for Perl 5.8.x - missing? | RE: Hitting a maximum number of SOCKET connections?
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!
Thanks
Anders
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Anders Bostrom
Brian Raven
Anders Bostrom
Brian Raven
Anders Bostrom

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved