[zeromq-dev] Asynchronous client-to-server (DEALER to ROUTER) without czmq - assert on bind

Laurent Alebarde l.alebarde at free.fr
Mon Oct 14 17:14:32 CEST 2013


Thanks Pieter. In fact, the problem is strange and comes as soon as the 
creation of the socket. But I think I have a build issue. You know, IDE 
comfort ;-) .


Le 14/10/2013 16:55, Pieter Hintjens a écrit :
> You can't bind to a hostname. Use 127.0.0.1 instead.
>
> On Mon, Oct 14, 2013 at 4:52 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:
>> I am trying to adapt the Guide's "Asynchronous client-to-server (DEALER to
>> ROUTER)" in a non czmq version, but it fails when it binds or connects. Here
>> is my code.
>>
>> libzmq_test: ../tests/async_client_to_server_no_czmq.cpp:59: void
>> server_task(void*): Assertion `rc == 0' failed.
>>
>> On its side, the client fails too.
>>
>> I tried several ports with the same result
>>
>>
>> Any idea please ?
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131014/5b66e84f/attachment.htm>


More information about the zeromq-dev mailing list