[zeromq-dev] "inproc" socket connection fails on Centos5/AmazonEC

Martin Sustrik sustrik at 250bpm.com
Mon Jul 19 08:34:55 CEST 2010


Martin Hurton wrote:
> Hi Dmitri,
> 
> I think this is a timing issue; you call connect() before the bind ()
> has finished.
> Try to postpone  the connect() call by 1 second.

You should rather call connect() _after_ bind(). That's more systematic 
solution.

Martin



More information about the zeromq-dev mailing list