Hi,

I don't understand how to properly behave in the following case:

I have a loop with a single uv_tcp_t handle (a TCP server), but the
call to uv_tcp_bind() fails (unavailable address or any other reason).

After such a failure the loops automatically exists (it seems that a
uv_tcp_t handle is not active until it is listening or connected, am I
right?). Assuming this is true: can I safely free() the handle? or do
I need to call uv_close() and free it in the close callback?

Thanks a lot.

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