fgms 0.11.8
The
FlightGear MultiPlayer Server
project
wrappers.h File Reference
#include "fgt_common.h"
#include "fgt_error.h"

Go to the source code of this file.

Functions

int Accept (int sockfd, struct sockaddr *cliaddr, socklen_t *addrlen)
 
int Bind (int sockfd, const struct sockaddr *serveraddr, socklen_t addrlen)
 
int Close (int sockfd)
 
int Connect (int sockfd, const struct sockaddr *serveraddr, socklen_t addrlen)
 
int Fork ()
 
int Listen (int sockfd, int backlog)
 
int Socket (int family, int type, int protocol)
 

Function Documentation

int Accept ( int  sockfd,
struct sockaddr *  cliaddr,
socklen_t *  addrlen 
)

Definition at line 17 of file wrappers.c.

Referenced by main().

int Bind ( int  sockfd,
const struct sockaddr *  serveraddr,
socklen_t  addrlen 
)

Definition at line 26 of file wrappers.c.

Referenced by main().

int Close ( int  sockfd)

Definition at line 35 of file wrappers.c.

Referenced by main().

int Connect ( int  sockfd,
const struct sockaddr *  serveraddr,
socklen_t  addrlen 
)

Definition at line 44 of file wrappers.c.

Referenced by main().

int Fork ( )

Definition at line 53 of file wrappers.c.

Referenced by main().

int Listen ( int  sockfd,
int  backlog 
)

Definition at line 64 of file wrappers.c.

Referenced by main().

int Socket ( int  family,
int  type,
int  protocol 
)

Definition at line 73 of file wrappers.c.

Referenced by main().