Hi David,
Thanks for your reply.
Gone through your message, but I am still not able to figure out the API to
be used for add & retrieve metadata in the message.
Do anyone know how to add/retrieve the metadata in/from the message?
Also what all properties are supported in zmq_msg_set()
Thanks
Another option would also be to use ZAP to authenticate clients. Once a
client is authenticated, key-value (meta-data) pairs are added to each
message so you always know whom each message came from.
On 19. 07. 2016 15:45, Diego Fons wrote:
Hi,
ZMQ_IDENTITY is used only with DEALER socket.
Hi,
ZMQ_IDENTITY is used only with DEALER socket. You can not retrive client
information with PUSH/PULL sockets (they are not implemented for this).
You can:
1) Re-implement your application to use DEALER/ROUTER or
2) Implement an abstraction layer that provides client identification (ie.
build