[zeromq-dev] XREQ socket connect to multi endpoints

notedit notedit at gmail.com
Mon Aug 29 17:24:37 CEST 2011


hello ,  anyone  can help me with my question?

i just can not figure it out.

many thanks

2011/8/29 notedit <notedit at gmail.com>

> i change the '*' to '127.0.0.1',but the client still can not work,
>
> the client just stucks there.
>
>
> 2011/8/29 Pieter Hintjens <ph at imatix.com>
>
>> The code is OK, but you're connecting to an address '*', which is not
>> valid. Specify the real IP address, or domain name.
>>
>> -Pieter
>>
>> On Mon, Aug 29, 2011 at 7:25 AM, notedit <notedit at gmail.com> wrote:
>> >
>> > hi, i just have read the zero guide, and i  know DEALER/ROUTER
>> ==XREQ/XREP,
>> > i alse read that a socket can connect to multi endpoints,
>> > so i do a test, i try to use a xreq socket connect to multi  req socket,
>> > but it seems that it doesn't work.
>> > this is my code
>> > client : http://pastebin.com/jhcSdLgr
>> > worker1: http://pastebin.com/iFtTkq5j
>> > worker2: http://pastebin.com/jDQffB32
>> > anyone can explain that to me?  many thanks
>> > --
>> >
>> > Best Wishes..
>> >
>> >
>> > _______________________________________________
>> > zeromq-dev mailing list
>> > zeromq-dev at lists.zeromq.org
>> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> >
>> >
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
>
> --
> *
>
> Best Wishes..
>
> *
>
>


-- 
*

Best Wishes..

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110829/baa4d8e3/attachment.htm>


More information about the zeromq-dev mailing list