Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'type' parameter to net.Server.listenFD()
This is needed in case the provided socket is not the default 'tcp4' type (i.e. and needs different read/write/etc methods). With this patch, one can call listenFD(sock, 'unix') to bind to existing UNIX domain sockets.
- Loading branch information