这是本文档旧的修订版!
ZeroMQ
Tips
- zmq 的 tcp 可以直接指定网卡名来替代ip :
// TCP port 5555 on the first Ethernet network interface on Linux rc = zmq_bind(socket, "tcp://eth0:5555"); assert (rc == 0);
public:it:zeromq
这是本文档旧的修订版!
// TCP port 5555 on the first Ethernet network interface on Linux rc = zmq_bind(socket, "tcp://eth0:5555"); assert (rc == 0);