[zeromq-dev] Question regarding scoket_t
Pieter Hintjens
ph at imatix.com
Wed May 26 08:21:29 CEST 2010
I'd say, there is no notion of TCP connection in a 0MQ connection. 0MQ could
add origin data into messages but it prefers to not force any message
envelope.
-
Sent from my Android mobile phone.
On May 26, 2010 7:14 AM, "Martin Sustrik" <sustrik at 250bpm.com> wrote:
Hi,
> I wonder how I can find out the addr of the client that is connected to
> my server?
There's no notion of "connection" in 0MQ. Thus you cannot know who's
connected.
If you are interested in who sent a particular message the best way to
do so is what Brian proposes -- include the sender's identity into the
message payload.
Martin
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100526/835e35ec/attachment.htm>
More information about the zeromq-dev
mailing list