ReplicaNet and RNLobby  1
Public Attributes | List of all members
s_XPSocket Struct Reference
Collaboration diagram for s_XPSocket:
Collaboration graph
[legend]

Public Attributes

int type
 
int state
 
int total_sent
 
int total_received
 
int total_accepts
 
int total_connects
 
int urgent
 
t_XPAddress addr
 
int wins_socket
 
int wins_socket6
 
t_XPSocketloopback_socket
 
char * loopback_recvbuffer
 
int loopback_recvpos
 
int loopback_readpos
 
int loopback_pending
 
int port
 
int port6
 
int mCounter
 
t_XPAddress mCachedAddress
 
bool mCachedAddressGot
 

Member Data Documentation

Address of external connection for this socket

Referenced by XPSock_Accept(), and XPSock_Connect().

int loopback_pending

Pending

Referenced by XPSock_Recv(), and XPSock_Send().

int loopback_readpos

Read position in the receive buffer

Referenced by XPSock_Recv().

char* loopback_recvbuffer

Pointer to the receive buffer

Referenced by XPSock_Accept(), XPSock_Close(), XPSock_Connect(), XPSock_Recv(), and XPSock_Send().

int loopback_recvpos

Write position in the receive buffer

Referenced by XPSock_Send().

t_XPSocket* loopback_socket

Pointer to the internal loop-back socket if the socket is in local loopback mode

int mCounter

Incremented every receive, regardless if there was an error or not

Referenced by XPSock_UrgentRecv().

int port

The port number

Referenced by XPSock_Listen(), and XPSock_UrgentCreate().

int port6

The port number

Referenced by XPSock_UrgentCreate().

int state
int total_accepts

Total number of accepts this socket has processed if it is a listen socket

Referenced by XPSock_Accept().

int total_connects

Total number of connects for this socket

int total_received

Total amount of data received in bytes to this socket

int total_sent

Total amount of data sent in bytes from this socket

int type
int urgent

Flagged with TRUE if it is an urgent socket

int wins_socket
int wins_socket6