First page Back Continue Last page Overview Graphics
Core Socket Functions (1)
int socket(int domain, int type, int protocol);
int bind(int sockfd, struct sockaddr *myaddr,
socklen_t addrlen);
int connect(int sockfd, const struct sockaddr *serv_addr,
socklen_t addrlen);
int accept(int sockfd, struct sockaddr *addr,
socklen_t *addrlen);
int listen(int sockfd, int backlog);
int getsockopt(int sockfd, int level, int optname,
void *optval, socklen_t *optlen);
int setsockopt(int sockfd, int level, int optname,
const void *optval, socklen_t optlen);
Notes: