[zeromq-dev] Question regarding scoket_t

tradermbox-zmq at yahoo.com tradermbox-zmq at yahoo.com
Tue May 25 23:28:03 CEST 2010


Hi,

I wonder how I can find out the addr of the client that is connected to my server?

say  

we are listening on box X (bind). with zmq::socket_t s (*ctx, ZMQ_REP) 
and I am making a connection and sending a ZMQ_REQ from another process on box Y.

can I find out from box X using socket_t s what is the address of the process is connecting from (ie box Y)?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100525/c8c85b9b/attachment.htm>


More information about the zeromq-dev mailing list