fixed typo
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user