2014-05-14 17:36 GMT+02:00 Martin Sustrik <[email protected]>:
> On Wednesday, May 14, 2014 5:30:12 PM UTC+2, Iñaki Baz Castillo wrote:
>>
>>
>> So it will in fact close the socket right?
>
>
> No, it doesn't need to close the socket. It is sufficient to stop polling on
> it. New connections will be buffered in the kernel and delivered to the user
> once they start polling on the listening socket again.


Well, that is exactly what I suggest to avoid. If I want to temporally
reject new connections I prefer to really reject them at TCP level
(for that the socket must be closed) rather than buffering them (which
would cause pain to users).

-- 
Iñaki Baz Castillo
<[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to