Socket-Specific
Functions
#include
<sys/types.h>
#include
<sys/socket.h>
int
socketpair(int domain, int type, int protocol, int sv[2]);
#include
<sys/types.h>
#include
<sys/socket.h>
int socket(int
domain, int type, int protocol);
#include
<sys/types.h>
#include
<sys/socket.h>
int bind(int
sockfd, struct sockaddr *my_addr, int addrlen);
#include
<sys/types.h>
#include
<sys/socket.h>
int connect(int
sockfd, struct sockaddr *serv_addr, int addrlen);
#include
<sys/socket.h>
int listen(int s,
int backlog);
#include
<sys/types.h>
#include
<sys/socket.h>
int accept(int s,
struct sockaddr *addr, int *addrlen);
No comments:
Post a Comment