ZeroMQ C++ multi-threaded server example runtime error -
i'm trying run zeromq multithreaded c++ server example, builds fine with
$ g++ server.cpp -lpthread -lzmq -o server -wall using os x 10.6.5, gcc version 4.2.1 (apple inc. build 5664), , zeromq2's lastest master branch (dec 1st). i'm getting runtime error after start server (with ./server)
terminate called after throwing instance of 'zmq::error_t' what(): operation not supported device is code provided on blog no longer current? or or have misconfigured? zmq seems working fine me otherwise on machine (simple request/reply socket patterns).
ridiculous. "tcp://localhost:5555" fail, "tcp://127.0.0.1:5555" works fine.
update 1:
/etc/hosts has entry localhost don't believe that's problem. i've tried using tcp://lo:5555 no success.
Comments
Post a Comment