fixed typo

This commit is contained in:
2025-06-22 13:46:57 -06:00
parent aba9dcdd93
commit d55f3828ba
+1 -1
View File
@@ -86,7 +86,7 @@ int main(int argc, char* argv[]) {
continue; continue;
} }
/* Allow reuse of socket despite binding */ /* Allow reuse of socket despite binding */
if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &yes, if (setsockopt(socketfd, SOL_SOCKET, SO_REUSEADDR, &yes,
sizeof(int)) == -1) { sizeof(int)) == -1) {
perror("setsockopt"); perror("setsockopt");
exit(1); exit(1);