Add ability to retrieve ZMQ_FD

This commit is contained in:
Giulio Eulisse
2020-06-03 10:54:26 +02:00
committed by Alexey Rybalchenko
parent a59c902c74
commit dd47b34e06
2 changed files with 4 additions and 0 deletions

View File

@@ -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;
}