On 03.02.2010 10:58, Oleg Kalnichevski wrote:
> I think NIO should work quite similarly. A selectable channel can be
> marked as OP_ACCEPT ready, but that does not mean the connection
> listener must accept that connection or accept it immediately.  

In theory yes. But you get the ACCEPT ready *once* only. So if you ignore it,
you forget that a channel was ready and you can end up never accepting it. So
not registering for OP_ACCEPT in the first place when you can't handle new
sockets is a must.

Odi

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to