My Project
TCPSocket.h
1
#ifndef __TCPSocket_h__
2
#define __TCPSocket_h__
3
4
#include "includes"
5
#include "Socket.h"
6
#include "IPAddress.h"
7
8
namespace
core {
9
19
20
class
TCPSocket
:
public
Socket
{
21
22
public
:
23
24
TCPSocket
(
EPoll
&ePoll);
25
TCPSocket
(
EPoll
&ePoll, std::string text);
26
~
TCPSocket
();
27
28
void
connect(
IPAddress
&address);
29
30
IPAddress
ipAddress;
31
38
39
virtual
void
output
(std::stringstream &out);
40
41
};
42
43
}
44
45
#endif
core::IPAddress
Definition:
IPAddress.h:9
core::Socket
Definition:
Socket.h:34
core::EPoll
Definition:
EPoll.h:31
core::TCPSocket
Definition:
TCPSocket.h:20
core::TCPSocket::output
virtual void output(std::stringstream &out)
Definition:
TCPSocket.cpp:20
Generated by
1.8.17