[zeromq-dev] How to read client's IP address from zmqsocket using tcp

Helge Früh helge.frueh at googlemail.com
Thu Jun 16 07:54:33 CEST 2011


I wonder if it's possible to read the client's IP address from a 
zmqsocket which is connected through tcp.  I know that the server socket 
generates an abstract SenderId if the client doesn't use an explicit 
identity. But this seems to be rather some type of GUID. I know that I 
could make the client's IP address an explicit part of the message but I 
would rather read the IP address of some kind of metadata that the 
socket generates...

Any ideas?


More information about the zeromq-dev mailing list