I am using zmq req/rep pattern communication. The implementation is pretty simple, the req sends some data and waits on recv. The rep receives the data, process and reply back.
//REQ
zmq_connect
zmq_send
zmq_recv //blocking
zmq_close
//REP
zmq_bind
while(true) {
while(data_received) {
//miscellaneous process
zmq_recv //non-blocking
Print zmq_error_no if zmq_recv fails
}
zmq_send
}
In the REP side, during zmq_recv timeout zmq_error_no 11 will be printed. But sometimes i am getting error no 156384763. could anyone tell the meaning for that error?