You should include just <zmq.h>. Line 59 is the bind, anyhow...
On Mon, Oct 14, 2013 at 5:14 PM, Laurent Alebarde <[email protected]> wrote: > 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 <[email protected]> > 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > -- - Pieter Hintjens CEO of iMatix.com Founder of ZeroMQ community blog: http://hintjens.com _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
