14#ifndef CONNECTIONTCPSERVER_H__
15#define CONNECTIONTCPSERVER_H__
18#include "connectiontcpbase.h"
48 const std::string& ip,
int port );
An abstract base class for a connection.
This is an abstract base class to receive incoming connection attempts. Do not confuse this with Conn...
ConnectionTCPBase(const LogSink &logInstance, const std::string &server, int port=-1)
ConnectionTCPServer(ConnectionHandler *ch, const LogSink &logInstance, const std::string &ip, int port)
virtual ConnectionError recv(int timeout=-1)
virtual ConnectionBase * newInstance() const
virtual ConnectionError connect()
An implementation of log sink and source.
The namespace for the gloox library.