Skip to content

Instantly share code, notes, and snippets.

@martinomburajr
Created May 20, 2019 05:01
Show Gist options
  • Select an option

  • Save martinomburajr/91e4c227deb41032e6c3670550c16aaf to your computer and use it in GitHub Desktop.

Select an option

Save martinomburajr/91e4c227deb41032e6c3670550c16aaf to your computer and use it in GitHub Desktop.
Accept Socket API call Unix
#include <sys/types.h> /* See NOTES */
#include <sys/socket.h>
int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment