RE: Hitting a maximum number of SOCKET connections? Continued...
by Brian Raven other posts by this author
Nov 4 2009 8:28AM messages near this date
view in the new Beta List Site
Hitting a maximum number of SOCKET connections? Continued...
|
Re: Hitting a maximum number of SOCKET connections? Continued...
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. Per
haps somebody from Activestate could check that the change to allow 2000 file descriptors re
ported 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 t
he server immediately after they are sent. So you may want to consider switching OS.
HTH
--
Brian Raven
This e-mail may contain confidential and/or privileged information. If you are not the inten
ded 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 stric
tly forbidden.
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Anders Bostrom
Brian Raven
Anders Bostrom
|