22#include "network/socket.hpp"
52 TcpSocket(
const std::string& ipAddress, uint16_t port);
71 virtual
void send(const std::
string& message);
80 virtual
void receive(std::
string& message);
91 std::
size_t write(const
char* buffer, std::
size_t size);
101 std::
size_t read(
char* buffer, std::
size_t size);
110 virtual
int getDomain() const;
117 virtual
int getType() const;
virtual void send(const std::string &message)
virtual void receive(std::string &message)
TcpSocket(const std::string &ipAddress, uint16_t port)
virtual ~TcpSocket() noexcept
Definition tcpStream.hpp:34
Network namespace.
Definition ioException.hpp:25