ReplicaNet and RNLobby
1
|
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_XPSocket * | loopback_socket |
char * | loopback_recvbuffer |
int | loopback_recvpos |
int | loopback_readpos |
int | loopback_pending |
int | port |
int | port6 |
int | mCounter |
t_XPAddress | mCachedAddress |
bool | mCachedAddressGot |
t_XPAddress addr |
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 |
State of the socket
Referenced by XPSock_Accept(), XPSock_Close(), XPSock_Connect(), XPSock_Listen(), XPSock_Recv(), and XPSock_Send().
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 |
Type of the socket
Referenced by XPSock_Accept(), XPSock_Close(), XPSock_Connect(), XPSock_Listen(), XPSock_Recv(), and XPSock_Send().
int urgent |
Flagged with TRUE if it is an urgent socket
int wins_socket |
For OS socket identifier/handle
Referenced by XPSock_Accept(), XPSock_Close(), XPSock_Connect(), XPSock_Create(), XPSock_GetAddress(), XPSock_GetPeerAddress(), XPSock_Listen(), XPSock_Recv(), XPSock_Send(), XPSock_SetRecvBuffer(), XPSock_SetSendBuffer(), XPSock_UrgentCreate(), XPSock_UrgentMakeBroadcast(), XPSock_UrgentRecv(), and XPSock_UrgentSend().
int wins_socket6 |
For OS socket6 identifier/handle
Referenced by XPSock_Close(), XPSock_Create(), XPSock_GetAddress(), XPSock_UrgentCreate(), XPSock_UrgentMakeBroadcast(), XPSock_UrgentRecv(), and XPSock_UrgentSend().