Hi all,

after the second sending over a RADIO socket, the send method always returns 
resource temporarily unavailable. Nevertheless the sockets is sending something 
every call. Here are the few lines of code I use:

this->ctx = zmq_ctx_new();
this->socket = zmq_socket(ctx, ZMQ_RADIO);
zmq_connect(socket, "udp://224.0.0.1:5555")
zmq_msg_t msg;
zmq_msg_init_data(&msg, byteArray.begin(), byteArray.size(), NULL, NULL);
zmq_msg_set_group(&msg, "TestMCGroup");
zmq_msg_send(&msg, this->socket, 0); // <-- return code is 11 - Resource 
temporarily unavailable
zmq_msg_close(&msg);

I am sending in a while(true) loop. Is that too fast? Do I actually have 
problem at all?

Greetings,
  Stephan


--
Distributed Systems Research Group
Stephan Opfer  T. +49 561 804-6280  F. +49 561 804-6277
Univ. Kassel,  FB 16,  Wilhelmshöher Allee 73,  D-34121 Kassel
WWW: http://www.uni-kassel.de/go/vs_stephan-opfer/
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to