test_socket/dgram_mod_req_rep.c
@@ -160,13 +160,14 @@ port = atoi(argv[2]); if (strcmp("server", argv[1]) == 0) { int temp = shm_alloc_key(); printf("tmp=%d\n", temp); server(temp); // int temp = shm_alloc_key(); // printf("tmp=%d\n", temp); server(port); } else if (strcmp("client", argv[1]) == 0) { startClients(port); } else { printf("input invalidate arguments\n"); } if (strcmp("client", argv[1]) == 0) client2(port); return 0;