Name zmq_setsockopt –设置ZMQ socket的属性 Synopsis int zmq_setsockopt (void *socket, int option_name, const void *option_value, size_t option_len); 注意:除了以下属性,所有的属性均需要在对socket进行bind/connect操作之前设置: ZMQ_SUBSCRIBE, ZMQ_UNSUBSCRIBE, ZMQ_LINGER, ZMQ_ROUTER_HAND…