ZeroMQ with NORM - address already in use error was thrown on 2nd .bind() - why?
问题 I'm using ZeroMQ with NACK-Oriented Reliable Multicast ( NORM ) norm:// protocol. The documentation contains only a Python code, so here is my C++ code: PUB Sender : string sendHost = "norm://2,127.0.0.1:5556";// <NormNodeId>,<addr:port> string tag = "MyTag"; string sentMessage = "HelloWorld"; string fullMessage = tag + sentMessage; zmq::context_t *context = new zmq::context_t( 20 ); zmq::socket_t publisher( *context, ZMQ_PUB ); zmq_connect( publisher, sendHost.c_str() ); zmq_send( publisher,