Le 1/8/13 3:13 PM, Chad Beaulac a écrit :
> Non-blocking mode for all sockets for sure. I like the algorithm. Seems like 
> you almost certainly still avoid trying to write multiple times to a 
> congestion controlled socket which must not happen. 
Yes, this is exactly what we do. The kind of stuff that would be
absolutely atrocious would be the approach that Jean-François Arcand is
depicting as an error :

http://jfarcand.wordpress.com/2006/05/30/tricks-and-tips-with-nio-part-i-why-you-must-handle-op_write/

You have to avoid such a behavior, and that means you have to use a
queue *if* you can't write all your data directly.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to