This is, I know that both functions can fail with:

  EBADF  The argument sockfd is not a valid descriptor.

But what is an invalid descriptor once the uv_tcp_init() has gone well?

2014-06-02 17:18 GMT+02:00 Iñaki Baz Castillo <[email protected]>:
> Hi, what does it happen if I call uv_tcp_getsockname() or
> uv_tcp_getpeername() on a disconnected socket (but still alive uv
> handle)? does it fail?
>
> Thanks a lot.
>
> --
> Iñaki Baz Castillo
> <[email protected]>



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