clrzmq
clrzmq copied to clipboard
ZmqSocket.Bind hides return value
ZmqSocket.Bind(...) (in /src/ZeroMQ/ZmqSocket.cs) validates the return value but swallows it and returns null. In this case, the zmq API returns the actual bound port as the result (when successful) and that should be passed back via the C# API as well. This is for situations when you bind to, for example, "tcp://:" which selects an ephemeral port.
I am not aware of any workarounds, but if there are some, I would appreciate hearing about it!
Thanks!