Last active
November 19, 2021 19:58
-
-
Save jbenner-radham/ad3de6ff009f3805e7ee625c64840844 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stuct sockaddr_in client_addr; | |
socklen_t address_len = sizeof(struct sockaddr_in); | |
for (;;) { | |
int client_sock = accept(server_sock, (struct sockaddr*)&client_addr, &address_len); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment