Paul wrote:
> I always use 500, no problems yet

But the ListenbacklogQueue is limited in size depending
on the OS (cannot recall the values, however it's far less
then 500, AFAIR). The more "blocking" the server behaves the
earlier you get 10061 back from a connect. Simple test is with
TcpSrv Demo, with logging to the memo enabled I get the first
error 10061 after 100-200 connects (10ms intervals). Turning off
logging to memo establishes several thousand connections without
any error easily.

--

Arno Garrels
   

> 
> Paul
> 
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <twsocket@elists.org>
> Sent: Wednesday, November 28, 2007 6:27 PM
> Subject: [twsocket] TWSocketServer and backlog
> 
> 
>> Hello:
>>    While stress-testing my application, I noticed
>> that I am able to send substantially many more
>> connections in the time it takes the TWSocketServer
>> to handle the incomming requests, causing the default
>> backlog to fill up quickly.  Obviously, I can
>> increase the number, but seeing that the default is 5
>> (which seems rather low to me), I'm thinking that
>> perhaps there may be a concern in setting this too high.
>> 
>>    Does anybody know what I should take into
>> consideration before changing this value, and if
>> there are any concerns with it being too high?
>> 
>>    Thanks,
>>    -dZ.
>> 
>> --
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to