zeromq/clrzmq — Issue #44: Socket.Address issue
Author: frichard
Created: 2012-02-01 04:24:06+00:00
State: open

I have this case where I am binding a socket of type SocketType.REP to multiple listening point and it works, but the Address property does not really support multiple binds.

Here is the example:

using (Socket socket = _context.Socket(SocketType.REP))
{
s_log.DebugFormat("ZMQ Version: {0}", ZMQ.ZHelpers.Version());
socket.Bind(BindAddress); // tcp://*:5555
socket.Bind(InprocInternalstop); // inproc://internalstop
s_log.DebugFormat("ZMQ bindAddress {0}", socket.Address);
(...)

And will produce the following log output:

DEBUG Xobni.CoreWorkers.JobsReceiver (null) - ZMQ Version: 2.1.11
DEBUG Xobni.CoreWorkers.JobsReceiver (null) - ZMQ bindAddress inproc://internalstop

Should the Address property actually be a List of Strings ?