|
CoreComponents 3.0.0
A Modern C++ Toolkit
|
Network sockets, status and routing information More...
Classes | |
| class | ClientSocket |
| TCP client socket. More... | |
| class | DatagramSocket |
| Datagram socket. More... | |
| class | ServerSocket |
| TCP server socket. More... | |
| class | Socket |
| Abstract base class for all networking sockets. More... | |
| class | SocketAddress |
| Socket address More... | |
| class | StreamSocket |
| Byte-sequential connection oriented network communication. More... | |
| class | Uri |
| Uniform Resource Indentifier (URI) More... | |
| class | NetworkInterface |
| Query network interface configuration: assigned addresses, flags, etc. More... | |
Enumerations | |
| enum class | ProtocolFamily : int { Unspec = PF_UNSPEC , InternetV4 = PF_INET , InternetV6 = PF_INET6 , Local = PF_LOCAL } |
| Protocol family. More... | |
| enum class | SocketType : int { Unspec = 0 , Stream = SOCK_STREAM , Datagram = SOCK_DGRAM } |
| Socket type. More... | |
| enum class | InternetProtocol : int { Unspec = 0 , Tcp = IPPROTO_TCP , Udp = IPPROTO_UDP } |
| Internet protocol type. More... | |
Functions | |
| String | base64Encode (const Bytes &source) |
| Base-64 encode source. | |
| String | base64Decode (const String &source) |
| Base-64 decode source. | |
| int | operator+ (ProtocolFamily family) |
| Prefix plus operator: shorthand to convert ProtocolFamily to int | |
| String | str (ProtocolFamily family) |
| Stringify protocol family. | |
| int | operator+ (SocketType type) |
| Prefix plus operator: shorthand to convert SocketType to int | |
| String | str (SocketType type) |
| Stringify socket type. | |
| int | operator+ (InternetProtocol protocol) |
| Prefix plus operator: shorthand to convert InternetProtocol to int | |
| String | str (InternetProtocol protocol) |
| Stringify internet protocol. | |
Network sockets, status and routing information
|
strong |
|
strong |
Socket type.
| Enumerator | |
|---|---|
| Unspec | Socket type is not specified |
| Stream | Reliable sequential byte streams. |
| Datagram | Unrealiable message passing. |
|
strong |
Internet protocol type.
| Enumerator | |
|---|---|
| Unspec | Internet protocol is not specified. |
| Tcp | Transport Control Protocol (TCP) |
| Udp | User Datagram Protocol (UDP) |
Base-64 decode source.
| Base64DecodeError |
| int operator+ | ( | ProtocolFamily | family | ) |
Prefix plus operator: shorthand to convert ProtocolFamily to int
| String str | ( | ProtocolFamily | family | ) |
Stringify protocol family.
| int operator+ | ( | SocketType | type | ) |
Prefix plus operator: shorthand to convert SocketType to int
| String str | ( | SocketType | type | ) |
Stringify socket type.
| int operator+ | ( | InternetProtocol | protocol | ) |
Prefix plus operator: shorthand to convert InternetProtocol to int
| String str | ( | InternetProtocol | protocol | ) |
Stringify internet protocol.