Created
July 23, 2019 04:04
-
-
Save kkumar-fk/a0e53cf2afd76a19894e24692ab70896 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
srv_addr.sin_family = AF_INET; | |
srv_addr.sin_addr.s_addr = INADDR_ANY; | |
srv_addr.sin_port = htons(SERVER_PORT); | |
bind(fd, &srv_addr, sizeof srv_addr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment