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
Re: Hitting a maximum number of SOCKET connections? Continued...
by Anders Bostrom other posts by this author
Nov 5 2009 1:14AM messages near this date
view in the new Beta List Site
RE: Hitting a maximum number of SOCKET connections? Continued... | Imager 0.7 for Perl 5.8.x - missing?
Brian Raven skrev:
>  Anders Boström <> wrote:
>    
> > 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.
> >     
> 
>  I can confirm that select on win32 only seems to consider the first 64 file descriptors. P
erhaps somebody from Activestate could check that the change to allow 2000 file descriptors 
reported for build 1001 works , and has not been regressed..
> 
>  I have just tried your code on Linux, and it seems to work as expected, i.e. pings seen on
 the server immediately after they are sent. So you may want to consider switching OS.
> 
>  HTH
>    
Thanks Brian!
Good to know that it works as expected on Linux!  Hopefully it could be 
made to work on Win32 also...
mvh
/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