8#ifndef FACEBOOK_NETWORK_TCP_CLIENT_H
9#define FACEBOOK_NETWORK_TCP_CLIENT_H
50 bool connect(
const unsigned int timeout = 1000u)
override;
This class wraps an address number with 32 bits.
Definition Address4.h:26
ConnectionOrientedClient()
Creates a new connection oriented client.
This class wraps a port number with 16 bits.
Definition Port.h:26
Address4 address() const
Returns the own address of this socket.
Port port() const
Returns the own port of this socket.
~TCPClient() override
Destructs a TCP client.
bool connect(const unsigned int timeout=1000u) override
Reconnects the client by the usage of the most recent address and port.
bool buildSocket()
Build the TCP socket.
bool disconnect() override
Disconnects the client.
TCPClient()
Creates a new TCP client.
bool connect(const Address4 &address, const Port &port, const unsigned int timeout=1000u) override
Connects to a TCP server.
Namespace of the Network library.
Definition Address4.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15