mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Add ability to retrieve ZMQ_FD
This commit is contained in:
parent
a59c902c74
commit
dd47b34e06
|
@ -505,6 +505,8 @@ class Socket final : public fair::mq::Socket
|
|||
if (constant == "no-block") return ZMQ_DONTWAIT;
|
||||
if (constant == "snd-more no-block") return ZMQ_DONTWAIT|ZMQ_SNDMORE;
|
||||
|
||||
if (constant == "fd") return ZMQ_FD;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -459,6 +459,8 @@ class Socket final : public fair::mq::Socket
|
|||
|
||||
if (constant == "linger") return ZMQ_LINGER;
|
||||
|
||||
if (constant == "fd") return ZMQ_FD;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user