#include <socketTCP.h>
Public Member Functions | |
ServerTCP (const int port) | |
ServerTCP (const int port, const int endPort) | |
void | waitConnection () |
int | waitClient (char *msg) |
bool | send (string &msg, const int size) |
Public Attributes | |
int | m_port |
port on which the messages are send | |
int | m_ds_sock |
struct sockaddr_in | m_server |
ServerTCP::ServerTCP | ( | const int | port | ) |
ServerTCP::ServerTCP | ( | const int | port, | |
const int | endPort | |||
) |
void ServerTCP::waitConnection | ( | ) |
int ServerTCP::waitClient | ( | char * | msg | ) |
bool ServerTCP::send | ( | string & | msg, | |
const int | size | |||
) |
struct sockaddr_in ServerTCP::m_server [read] |