NanoSocket.nanoSock

get the underlying nanomsg socket file descriptor. Bear in mind that NanoSocket contains state about the socket options, so changing these from the raw fd will result in unpredictable behaviour

struct NanoSocket
@system pure const @nogc nothrow
int
nanoSock
()