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
|