[zeromq-dev] Access to underlying Linux socket?

Mark Gillott mgillott at Brocade.com
Wed Feb 10 16:50:09 CET 2016


[I'm sure this must have been asked before, but can't find anything]

Is there a facility or method to "map" a 0MQ socket to its supporting
Linux socket?

Working with a Linux kernel that has some new networking facility
together with socket extensions to control the facility. With vanilla
sockets this results in calls to setsockopt(sockfd, SOL_SOCKET, ...).

But how do I manage 0MQ sockets wanting to enable/control this facility?
Can I obtain the Linux socket and thus use native setsockopt() calls? Or
is the only option to generate (& maintain) zmq_set_xyz() & zmq_xyz()
patches for the base ZMQ library (together with the various language
binding - C, Python, Perl, etc)?

Cheers,

Mark



More information about the zeromq-dev mailing list