#include <socketTCP.h>
Public Member Functions | |
ClientTCP (int &res, const int port, const char *server_addr) | |
int | receive (string *msg) |
int | waitServer (char *msg) |
Public Attributes | |
int | m_port |
port on which the messages are send | |
struct sockaddr_in | m_client |
TCP-IP client (a better version than ClientTCP).
ClientTCP::ClientTCP | ( | int & | res, | |
const int | port, | |||
const char * | server_addr | |||
) |
int ClientTCP::receive | ( | string * | msg | ) |
int ClientTCP::waitServer | ( | char * | msg | ) |
struct sockaddr_in ClientTCP::m_client [read] |