hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Regarding Async server in NIO Example
Date Tue, 04 Sep 2007 09:07:24 GMT
On Tue, 2007-09-04 at 10:40 +0200, Ortwin Gl├╝ck wrote:
> 
> Oleg Kalnichevski wrote:
> > What do you mean by the 'backlog limit for the server socket'? Maximum
> > content buffer length?
> 
> I think he refers to the number of not-yet-accepted TCP connections (SYN
> received, but not ACKed). See second parameter of ServerSocket(int,
> int). Basically connections must be accepted one by one. But in the
> meantime the connections keep queuing up until the backlog limit is
> reached. From that point on new connections will get a RST packet instead.
> 
> Odi
> 

I see. NIO does not seem to expose this option because the server socket
get instantiated behind the scene by the ServerSocketChannel. So the
system default should apply.

Oleg   

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message