ServerTCP Class Reference
[Internet protocol sockets]

TCP-IP server. More...

#include <socketTCP.h>

Inheritance diagram for ServerTCP:

SocketTCP

List of all members.

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


Detailed Description

TCP-IP server.

Author:
Paolo Stegagno

Constructor & Destructor Documentation

ServerTCP::ServerTCP ( const int  port  ) 

ServerTCP::ServerTCP ( const int  port,
const int  endPort 
)


Member Function Documentation

void ServerTCP::waitConnection (  ) 

int ServerTCP::waitClient ( char *  msg  ) 

bool ServerTCP::send ( string &  msg,
const int  size 
)


Member Data Documentation

port on which the messages are send

Reimplemented from SocketTCP.

struct sockaddr_in ServerTCP::m_server [read]


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

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