Last active
May 18, 2019 04:49
-
-
Save martinomburajr/c0e901dce38a19e882a1963d360f6ef9 to your computer and use it in GitHub Desktop.
Socket API for Unix and Windows
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
| // Unix implementation of socket() system call | |
| int socket(int domain, int type, int protocol); |
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
| // Windows implementation of socket() system call | |
| SOCKET WSAAPI socket(int af, int type, int protocol); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment