test_net_socket/test_net_mod_socket.c
@@ -85,7 +85,7 @@ void *bus_handler(void *sockt) { pthread_detach(pthread_self()); // pthread_detach(pthread_self()); char action[512]; while ( true) { @@ -119,6 +119,10 @@ printf("start bus failed\n"); exit(1); } if (pthread_join(tid, NULL) != 0) { perror(" pthread_join"); } }