|
NetCpp
v0.2
|
Namespaces | |
| namespace | ip4 |
| namespace | local |
Classes | |
| struct | __buffer |
| Structure to avoid issues when giving buffers to AbstractSocket. More... | |
| class | AbstractSocket |
| Base abstract class for protocols. More... | |
| class | AbstractSystemSocket |
| Virtual class for platform-dependent code. More... | |
| class | Address |
| Base class for all addresses. More... | |
| class | PosixSocket |
| Class for platform-dependent code. More... | |
| class | protocol |
| Protocol used for the communication. More... | |
Enumerations | |
| enum | protocol_type |
| Protocol type. More... | |
| enum | protocol_domain |
| Protocol domain. More... | |
Functions | |
| template<std::size_t N> | |
| __buffer | buffer (std::array< char, N > &buf) |
| Function to pass a std::array to AbstractSocket. | |
| std::unique_ptr < AbstractSystemSocket > | createSocket (const protocol &prot) |
Variables | |
| static const net::protocol_type | STREAM = net::protocol_type::STREAM |
| static const net::protocol_type | DGRAM = net::protocol_type::STREAM |
| static const net::protocol_domain | IPv4 = net::protocol_domain::IPv4 |
| static const net::protocol_domain | LOCAL = net::protocol_domain::LOCAL |
| enum protocol_domain |
Protocol domain.
Definition at line 45 of file protocol.hpp.
| enum protocol_type |
Protocol type.
Definition at line 37 of file protocol.hpp.
|
inline |
Function to pass a std::array to AbstractSocket.
| reference | to a std::array<char> |
Definition at line 65 of file abstract_socket.hpp.
|
inline |
|
static |
Definition at line 122 of file protocol.hpp.
|
static |
Definition at line 123 of file protocol.hpp.
|
static |
Definition at line 124 of file protocol.hpp.
|
static |
Definition at line 121 of file protocol.hpp.