Thanks for your answer. I should have said more on this -- I did pass the client handle to the getpeername call. I only mentioned it to show that getpeername works fine with the client handle. As the server handle works fine with getsockname after uv_listen, this seems to only leave my way of dealing with "addr" as the culprit...
"server" is a global that gets passed into uv_listen and into uv_accept. The socket works - I'm running a successfull websocket protocol over it, it's just getsockname seems to tell me IP and Port are 0 on connect should be localhost:3000... -- 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.
