ClientTCP Class Reference
[Internet protocol sockets]

TCP-IP client. More...

#include <socketTCP.h>

Inheritance diagram for ClientTCP:

SocketTCP

List of all members.

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


Detailed Description

TCP-IP client.

TCP-IP client (a better version than ClientTCP).

Author:
Paolo Stegagno

Antonio Franchi


Constructor & Destructor Documentation

ClientTCP::ClientTCP ( int &  res,
const int  port,
const char *  server_addr 
)


Member Function Documentation

int ClientTCP::receive ( string *  msg  ) 

int ClientTCP::waitServer ( char *  msg  ) 


Member Data Documentation

port on which the messages are send

Reimplemented from SocketTCP.

struct sockaddr_in ClientTCP::m_client [read]


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:09 2017 for MIP by  doxygen 1.5.6