Hi All,

I have a process A which is creating ZMQ_PULL type of socket and bind on
some port.

Now I have process B, C, D (all on same system) which all creates ZMQ_PUSH
types of sockets in each process respectively and connects to the port on
same system on which process A is bind to.

In process A I am using API zmq_msg_recv() for receiving the messages. Now
I want to identify the process (A or B or C) from which that message is
received.
is there any way to know which process has sent this message?

I tried to set the ZMQ_IDENTITY in client processes (B,C & D) but dont know
how to get the identity from received message on the server process A

Any pointer in this regard?



-- 
With warm regards,
Bharat
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to