| | |
| | | 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(); |
| | |
| | | |
| | | 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]; |