src/socket/net_mod_socket.c
@@ -287,7 +287,13 @@ } } // 本地发送 if(node_arr == NULL || arrlen == 0) { if(shmModSocket.pub(topic, topic_size, content, content_size, node->key) == 0 ) { n_pub_suc++; } } for (i = 0; i < arrlen; i++) { node = &node_arr[i]; @@ -558,15 +564,6 @@ return shmModSocket.sendandrecv_nowait(send_buf, send_size, key, recv_buf, recv_size); } /** * 启动bus * * @return 0 成功, 其他值 失败的错误码 */ int NetModSocket::start_bus() { return shmModSocket.start_bus(); } /** * 订阅指定主题