zmq4 icon indicating copy to clipboard operation
zmq4 copied to clipboard

Add SetFd()

Open aletheia7 opened this issue 9 years ago • 3 comments

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().

aletheia7 avatar Jun 01 '16 23:06 aletheia7

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?

pebbe avatar Jun 03 '16 12:06 pebbe

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.

pebbe avatar Jun 03 '16 12:06 pebbe

Thank you.

aletheia7 avatar Jun 03 '16 18:06 aletheia7