wangzhengquan
2020-10-22 8c42a659c0cc9178d1f1305acb41dfbf4a8697ef
test_net_socket/test_net_mod_socket.c
@@ -99,12 +99,12 @@
  int i,j, n, recv_arr_size;
  net_mod_recv_msg_t *recv_arr;
  int node_arr_size = 2;
  int node_arr_size = 1;
   //192.168.20.104
   net_node_t node_arr[] = {
      // {"192.168.5.22", port, 11},
    {"192.168.20.10", port, 11},
    {"192.168.20.104", port, 11}
      //{0, port, 11}
    {"192.168.20.10", port, 11}
    // {"192.168.20.104", port, 11}
   };
  void * client = net_mod_socket_open();
@@ -140,7 +140,7 @@
void mclient(int port) {
  int status, i = 0, processors = 2;
  int status, i = 0, processors = 1;
  void *res[processors];
  // Targ *targs = (Targ *)calloc(processors, sizeof(Targ));
  Targ targs[processors];