[zeromq-dev] Question regarding scoket_t

Brian Granger ellisonbg at gmail.com
Tue May 25 23:57:15 CEST 2010


Can you simply cheat and send it as a 0MQ message?

Brian

On Tue, May 25, 2010 at 2:28 PM,  <tradermbox-zmq at yahoo.com> wrote:
> 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
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the zeromq-dev mailing list