wangzhengquan
2020-11-27 a856e56b3943041d64a22285c550f6dbb9d2e193
src/socket/net_mod_socket.h
@@ -124,7 +124,7 @@
   * 如果建立连接的节点没有接受到消息等待timeout的时间后返回
   * @timeout 等待时间,单位是千分之一秒
  */
  int sendandrecv_timout(net_node_t *node_arr, int arrlen, void *send_buf, int send_size,
  int sendandrecv_timeout(net_node_t *node_arr, int arrlen, void *send_buf, int send_size,
    net_mod_recv_msg_t ** recv_arr, int *recv_arr_size, int  timeout);
  /**
@@ -222,7 +222,7 @@
  int  pub_nowait( char *topic, int topic_size, void *content, int content_size, int port);
   /**
   * 向node_arr 中的所有网络节点发布消息
   * @node_arr 网络节点组, @node_arr_len该数组长度
@@ -233,9 +233,9 @@
  int pub(net_node_t *node_arr, int node_arr_len, char *topic, int topic_size, void *content, int content_size);
  /**
   * 获取soket端口号
   * 获取soket key
   */
  int get_port() ;
  int get_key() ;
   /**
   * 销毁sendandrecv方法返回的消息组