ZeroMQ 官方地址 :http://api.zeromq.org/4-2:zmq_msg_close zmq_msg_close(3) ØMQ Manual - ØMQ/3.2.5 Name zmq_msg_close – 释放一个ZMQ消息 Synopsis intzmq_msg_close (zmq_msg_t *msg); Description zmq_msg_close()函数会通知ZMQ公共结构,所有和参数msg向关联的资源都不再被需要,并且会...
status = zmq_msg_close(&msg); check_error(status == 0, __LINE__); // Prints "Error (line 31): Bad address" /* === */ /* Either line will trigger SIGABRT from a zmq_assert */ /* === */ zmq_msg_size(&msg); // Why not return 0 or use error code model? zmq_msg_da...