Open source remastering of the Freespace 2 engine
tcp_socket.h File Reference

Go to the source code of this file.


int FS2NetD_ConnectToServer (const char *host, const char *port)
void FS2NetD_Disconnect ()
int FS2NetD_GetData (char *buffer, int blen)
int FS2NetD_SendData (char *buffer, int blen)
bool FS2NetD_DataReady ()

Function Documentation

int FS2NetD_ConnectToServer ( const char *  host,
const char *  port 

Definition at line 62 of file tcp_socket.cpp.

bool FS2NetD_DataReady ( )

Definition at line 245 of file tcp_socket.cpp.

void FS2NetD_Disconnect ( )

Definition at line 50 of file tcp_socket.cpp.

int FS2NetD_GetData ( char *  buffer,
int  blen 

Definition at line 224 of file tcp_socket.cpp.

int FS2NetD_SendData ( char *  buffer,
int  blen 

Definition at line 236 of file tcp_socket.cpp.