Guys I solved the problem. Turns out I can't do this from RESPONDER:
ZmqSocket receive_worker = context.CreateSocket(SocketType.PUSH);
while (true)
{
---- something ----
receive_worker.Connect(response_address);
receive_worker.SendMessage(response_zmqmessage);
receive_worker.Disconnect(response_address);
}
Instead I have to recreate the connection, like below:
while (true)
{
---- something ----
ZmqSocket receive_worker = context.CreateSocket(SocketType.PUSH);
receive_worker.Connect(response_address);
receive_worker.SendMessage(response_zmqmessage);
receive_worker.Dispose();
}
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev