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.
parent
bca16a05
Please register or sign in to comment