You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow file descriptor to be passed to UDP socket - just as one can for TCP/Unix sockets #14961
In the net API (https://nodejs.org/api/net.html) Node allows the reception of an existing socket via its file descriptor - in the server.listen(handle[, backlog][, callback]) API. This is, among other things, useful when receiving the listening socket from a supervising daemon.
I think that would be an acceptable change. Pull requests welcome, the libuv function you are looking for is called uv_udp_open(); uv_tcp_open() is its net module counterpart.
Activity
bnoordhuis commentedon Aug 21, 2017
I think that would be an acceptable change. Pull requests welcome, the libuv function you are looking for is called
uv_udp_open();uv_tcp_open()is its net module counterpart.dgram: implement socket.bind({ fd })