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? Continued...
by Anders Bostrom other posts by this author
Nov 4 2009 7:57AM messages near this date
view in the new Beta List Site
Re: SOAP::Lite missing in 5.10.1? | RE: Hitting a maximum number of SOCKET connections? Continued...
Hello again,
I have received test result from 2 people that tested the example, and 
both failed in the same way.
To clarify the previous explanation of the problem.
Its seen on the server side!
When the client has sent 63 PING's, the server stops showing the rest of 
the PING's (64-100).  They will the show up one by one, when the client 
starts to close the connections.

It seems that only 63 sockets can deliver messages to the server at one 
time.
The other sockets are silent seen from the server.

Still - if anybody could explain why this is, I would be very happy.
So long
Anders



-------

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

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