zmq4
zmq4 copied to clipboard
Add SetFd()
Can you add Socket.SetFd() to support zmq_setsockopt(ZMQ_PRE_ALLOCATED_FD).This socket option was added to https://github.com/zeromq/libzmq/commit/4bcbb3055ebf6753a2135fb3132311603d6ea930. I would like to use Linux systemd Socket Activation instead of Socket.Bind().
This option is not currently in the master branch of ZeroMQ, so I guess it has been removed again, or renamed. There is a ZMQ_USE_FD. Is that what you want?
Added functions GetUseFd and SetUseFd in branch devel.
Subject to change. This will not be merged into master until the official release of ZeroMQ version 4.2.
Thank you.