I got it, the "int len" passed into uv_tcp_getsockname must be initialized. 
I thought that getsockname would do that based on that the socket is 
AF_INET.

int len = sizeof (struct sockaddr_in);
was required.

-- 
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/groups/opt_out.

Reply via email to