[zeromq-dev] brain foggy -- need help

Andrew Hume andrew at research.att.com
Wed Oct 30 21:05:48 CET 2013


ok, i got that to work, albeit in an ad hoc way.
is there some systematic way to breakdown the frame structure,
or do i simply duplicate what is there but change the last part (the content)?

On Oct 30, 2013, at 7:30 AM, Pieter Hintjens wrote:

> On Wed, Oct 30, 2013 at 3:13 PM, Andrew Hume <andrew at research.att.com> wrote:
>> ugh.
>> ok, i'll bite -- i guess i'll take this opportunity to grok ROUTER/DEALER.
>> 
>> how do i generate (on the dealer side) teh identity part?
>> (i'm assuming that i need to send a 3 part message on the sending side.)
> 
> For any serious work with ZMQ, you need to dig into ROUTER/DEALER, it
> ends up much simpler than trying to work with multiple socket flows.
> 
> Read the Guide, chapter on Request Reply.
> 
> Dealer doesn't generate an identity, it's like a handle per peer
> connection the Router generates internally and delivers to the API.
> 
> Setting an explicit identity in Dealer overrides this generated value
> with your own.
> 
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev


-----------------------
Andrew Hume
949-707-1964 (VO and best)
732-420-0907 (NJ)
andrew at research.att.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131030/9f9b6be6/attachment.htm>


More information about the zeromq-dev mailing list