rpc : set SO_REUSEADDR for the server socket (#7320)

ref: #7293
This commit is contained in:
Radoslav Gerganov authored and GitHub committed 2024-05-17 17:25:44 +03:00
1 parent 51e9d02599
commit f4bd8b3d26
2 files changed
+15 -2

No files matched your search

+4
View File
@@ -56,6 +56,10 @@ static bool rpc_server_params_parse(int argc, char ** argv, rpc_server_params &
} else if (arg == "-h" || arg == "--help") {
print_usage(argc, argv, params);
exit(0);
} else {
fprintf(stderr, "error: unknown argument: %s\n", arg.c_str());
print_usage(argc, argv, params);
exit(0);
}
}
return true;