TCPSocket.h
Go to the documentation of this file.
#ifndef __TCPSocket_h__
#define __TCPSocket_h__
#include "includes"
#include "Socket.h"
#include "IPAddress.h"
namespace core {
class TCPSocket : public Socket {
public:
TCPSocket(EPoll &ePoll);
TCPSocket(EPoll &ePoll, std::string text);
~TCPSocket();
void connect(IPAddress &address);
IPAddress ipAddress;
virtual void output(std::stringstream &out);
};
}
#endif
core::TCPSocket
Definition: TCPSocket.h:20
core::TCPSocket::TCPSocket
TCPSocket(EPoll &ePoll)
Definition: TCPSocket.cpp:8
core::Socket::ePoll
EPoll & ePoll
Definition: Socket.h:117
core::EPoll
Definition: EPoll.h:31
core::TCPSocket::~TCPSocket
~TCPSocket()
Definition: TCPSocket.cpp:12
IPAddress.h
core::Socket
Definition: Socket.h:33
core::IPAddress
Definition: IPAddress.h:9
core::TCPSocket::connect
void connect(IPAddress &address)
Definition: TCPSocket.cpp:14
core
Definition: Command.cpp:5
core::TCPSocket::output
virtual void output(std::stringstream &out)
Definition: TCPSocket.cpp:21
core::TCPSocket::ipAddress
IPAddress ipAddress
Definition: TCPSocket.h:30
Socket.h