[zeromq-dev] brain foggy -- need help

Andrew Hume andrew at research.att.com
Wed Oct 30 15:13:34 CET 2013


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.)

On Oct 30, 2013, at 2:04 AM, Pieter Hintjens wrote:

> On Wed, Oct 30, 2013 at 1:34 AM, Andrew Hume <andrew at research.att.com> wrote:
> 
>> i have a central server fed by a client.
>> the client needs to push a large amount of data to teh server but only exit
>> when the server is done processing it.
>> both client and server are running on the same linux box.
> 
> Sounds like you're making things over complex.
> 
> I'd just use one socket pair, DEALER at client to ROUTER at server.
> Client sends all its data to server and signals final message. Server
> processes data in sequence and when it's done, signals status OK/Error
> back to client.
> 
> -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/8f1f35b8/attachment.htm>


More information about the zeromq-dev mailing list