Nuclide
Software Development Kit for id Tech
|
Go to the source code of this file.
Classes | |
struct | tcpinfo_t |
Macros | |
#define | TCP_BUFFER_LENGTH 32 |
Enumerations | |
enum | tcpstate_t { STATE_DISCONNECTED , STATE_CONNECTING , STATE_CONNECTED } |
State of a TCP connection. More... | |
Functions | |
int | TCP_Connect (tcpinfo_t *in, string path) |
Open a TCP socket connection. More... | |
void | TCP_Disconnect (tcpinfo_t *in) |
Closes a TCP socket connection. More... | |
int | TCP_Send (tcpinfo_t *in, string msg) |
Send a string buffer to a specified TCP connection. More... | |
string | TCP_Receive (tcpinfo_t *in) |
Receive the latest message from a TCP connection. More... | |
void | TCP_Frame (tcpinfo_t *in) |
You want to run this every frame. More... | |
tcpstate_t | TCP_GetState (tcpinfo_t *in) |
Returns the tcpstate_t of a connection. More... | |