Get Win32 SOCKET from net.Socket

12 views
Skip to first unread message

Alex Hultman

unread,
Jul 6, 2016, 11:10:23 PM7/6/16
to nodejs
Hi,

I need to get the native SOCKET handle from a net.Socket. On Unix I use the fd, but this is -1 on Windows (of course). How can I get the SOCKET? _handle._externalStream?
Reply all
Reply to author
Forward
0 new messages