hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <...@odi.ch>
Subject Re: Controlling "acceptance" of connections
Date Wed, 03 Feb 2010 10:04:12 GMT
Answering myself again :-)

> 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.

I may be wrong here, and you get ACCEPT ready over and over again until you
actually accept. That's equally bad because you end up with a busy wait.

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


Mime
View raw message