wangzhengquan
2021-02-04 546bdaa58724ec6a19b56e800ad60963bd3bd1bc
src/net/net_mod_socket.cpp
@@ -141,6 +141,8 @@
}
int NetModSocket::_sendandrecv_(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  msec ) {
@@ -495,6 +497,14 @@
  return shmModSocket.recvfrom(buf, size, key, NULL, BUS_NOWAIT_FLAG);
}
int NetModSocket::recvandsend(recvandsend_callback_fn callback,
                              const struct timespec *timeout , int flag, void * user_data ) {
  return shmModSocket.recvandsend(callback, timeout, flag, user_data);
}
/**
 * 发送请求信息并等待接收应答
 * @key 发送给谁