Odamex
Setting the Standard in Multiplayer Doom
master/i_net.h File Reference

Go to the source code of this file.

Data Structures

struct  netadr_t
class  buf_t

Typedefs

typedef unsigned char byte

Functions

void CloseNetwork (void)
void InitNetCommon (void)
void I_SetPort (netadr_t &addr, int port)
void I_DoSelect (void)
char * NET_AdrToString (netadr_t a, bool displayport=true)
bool NET_StringToAdr (char *s, netadr_t *a)
bool NET_CompareAdr (netadr_t a, netadr_t b)
int NET_GetPacket (void)
void NET_SendPacket (int length, byte *data, netadr_t to)

Variables

int localport
int msg_badread
netadr_t net_from
buf_t net_message

Typedef Documentation

typedef unsigned char byte

Function Documentation

void CloseNetwork ( void  )
void I_DoSelect ( void  )
void I_SetPort ( netadr_t addr,
int  port 
)
void InitNetCommon ( void  )
char* NET_AdrToString ( netadr_t  a,
bool  displayport = true 
)
bool NET_CompareAdr ( netadr_t  a,
netadr_t  b 
)
int NET_GetPacket ( void  )
void NET_SendPacket ( int  length,
byte data,
netadr_t  to 
)
bool NET_StringToAdr ( char *  s,
netadr_t a 
)

Variable Documentation

int localport
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends