Could you tell me on library Zmq (She same 0mq, and she same Zeromq)
I use the code from the example:
void *context = zmq_init (1); void *responder = zmq_socket (context, ZMQ_REP); zmq_bind (responder, "tcp://192.168.5.241:5551"); zmq_msg_t reply; zmq_msg_init_size (&reply, 5); memcpy (zmq_msg_data (&reply), "World", 5); zmq_send (responder, &reply, 0); zmq_msg_close (&reply); zmq_close (responder); zmq_term (context); The server does not receive the message receiver, please take into account the fact that it is configured correctly and there should not be any problems in it.
ZMQ_REP? then on the client you needZMQ_REQ. - KoVadim