Macros | |
#define | dfunc net_drivers[net_driverlevel] |
#define | sfunc net_drivers[sock->driver] |
Functions | |
qboolean | NET_CanSendMessage (qsocket_t *sock) |
Check if a message can be sent to the connection. More... | |
qsocket_t * | NET_CheckNewConnections (void) |
Check for new connections. More... | |
void | NET_Close (qsocket_t *sock) |
Close a connection. More... | |
qsocket_t * | NET_Connect (const char *host) |
Connect to a host. More... | |
void | NET_FreeQSocket (qsocket_t *sock) |
Destroy a qsocket. More... | |
int | NET_GetMessage (qsocket_t *sock) |
Read a single message from the connection into net_message. More... | |
void | NET_Init (void) |
Initialize the networking sub-system. More... | |
qsocket_t * | NET_NewQSocket (void) |
Create and initialize a new qsocket. More... | |
void | NET_Poll (void) |
Run any current poll procedures. More... | |
int | NET_SendMessage (qsocket_t *sock, sizebuf_t *data) |
Send a single reliable message to the connection. More... | |
int | NET_SendToAll (sizebuf_t *data, double blocktime) |
Send a reliable message to all attached clients. More... | |
int | NET_SendUnreliableMessage (qsocket_t *sock, sizebuf_t *data) |
Send a single unreliable message to the connection. More... | |
void | NET_Shutdown (void) |
Shutdown the UDP network interface. More... | |
void | SchedulePollProcedure (PollProcedure *proc, double timeOffset) |
Schedule a poll procedure to run. More... | |
double | SetNetTime (void) |
Cache the system time for the network sub-system. More... | |
#define dfunc net_drivers[net_driverlevel] |
#define sfunc net_drivers[sock->driver] |
cvar_t* net_messagetimeout |
int op |
int r |
int ret |
intptr_t session |
PollProcedure slistPollProcedure = { NULL, 0.0, Slist_Poll } |
PollProcedure slistSendProcedure = { NULL, 0.0, Slist_Send } |
double time |
struct { ... } vcrConnect |
struct { ... } vcrGetMessage |
struct { ... } vcrSendMessage |