bsdsocket
Index
int accept(
int s,
struct sockaddr * addr,
int * addrlen );
int bind(
int s,
struct sockaddr * name,
int namelen );
int CloseSocket(
int s );
int connect(
int s,
struct sockaddr * name,
int namelen );
int Dup2Socket(
int fd1,
int fd2 );
struct hostent * gethostbyaddr(
char * addr,
int len,
int type );
struct hostent * gethostbyname(
char * name );
int gethostname(
char * name,
int namelen );
struct netent * getnetbyaddr(
long net,
int type );
struct netent * getnetbyname(
char * name );
int getpeername(
int s,
struct sockaddr * name,
int * namelen );
struct protoent * getprotobyname(
char * name );
struct protoent * getprotobynumber(
int proto );
struct servent * getservbyname(
char * name,
char * proto );
struct servent * getservbyport(
int port,
char * proto );
LONG GetSocketEvents(
ULONG * eventsp );
int getsockname(
int s,
struct sockaddr * name,
int * namelen );
int getsockopt(
int s,
int level,
int optname,
void * optval,
void * optlen );
unsigned long inet_addr(
const char * cp );
unsigned long Inet_LnaOf(
unsigned long in );
unsigned long Inet_MakeAddr(
int net,
int lna );
unsigned long Inet_NetOf(
unsigned long in );
unsigned long inet_network(
const char * cp );
char * Inet_NtoA(
unsigned long in );
char * Inet_Nto(
TAG tag, ... );
int IoctlSocket(
int s,
unsigned long request,
char * argp );
int listen(
int s,
int backlog );
LONG ObtainSocket(
LONG id,
LONG domain,
LONG type,
LONG protocol );
int recv(
int s,
void * buf,
int len,
int flags );
int recvfrom(
int s,
void * buf,
int len,
int flags,
struct sockaddr * from,
int * fromlen );
int recvmsg(
int s,
struct msghdr * msg,
int flags );
LONG ReleaseCopyOfSocket(
LONG sd,
LONG id );
LONG ReleaseSocket(
LONG sd,
LONG id );
int send(
int s,
const void * msg,
int len,
int flags );
int sendmsg(
int s,
const struct msghdr * msg,
int flags );
int sendto(
int s,
const void * msg,
int len,
int flags,
const struct sockaddr * to,
int tolen );
void SetErrnoPtr(
void * ptr,
int size );
void SetSocketSignals(
ULONG intrmask,
ULONG iomask,
ULONG urgmask );
int setsockopt(
int s,
int level,
int optname,
void * optval,
int optlen );
int shutdown(
int s,
int how );
int socket(
int domain,
int type,
int protocol );
ULONG SocketBaseTagList(
struct TagItem * tagList );
ULONG SocketBaseTags(
TAG tag, ... );
void vsyslog(
int level,
const char * format,
LONG * args );
int WaitSelect(
int nfds,
fd_set * readfds,
fd_set * writefds,
fd_set * exceptfds,
struct timeval * timeout,
ULONG * sigmask );
|
|