Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

socket name of unix domain sockets #9120

Closed
timkuijsten opened this issue Jan 30, 2015 · 1 comment
Closed

socket name of unix domain sockets #9120

timkuijsten opened this issue Jan 30, 2015 · 1 comment

Comments

@timkuijsten
Copy link

It is currently impossible to get the path of a connected unix domain socket. socket.address() returns an empty object if it's not connected over AFINET.

I've looked at lib/net.js, src/tcp_wrap.cc, src/pipe_wrap.cc and libuv and it looks like libuv has support for returning the name of the socket and it is only pipe_wrap.cc that misses something like GetPeerName (I'm not a C coder so I might be wrong on this).

@brendanashworth
Copy link

Closing in favor of discussion at nodejs/node#954.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants