libcaf
0.15.5
|
Bundles protocol information for network and transport layer communication. More...
#include <protocol.hpp>
Public Types | |
enum | network { ipv4, ipv6 } |
Denotes a network protocol, i.e., IPv4 or IPv6. | |
enum | transport { tcp, udp } |
Denotes a transport protocol, i.e., TCP or UDP. | |
Public Attributes | |
transport | trans |
network | net |
Related Functions | |
(Note that these are not member functions.) | |
template<class Inspector > | |
Inspector::result_type | inspect (Inspector &f, protocol &x) |
std::string | to_string (const protocol &x) |
Converts a protocol into a transport/network string representation, e.g., "TCP/IPv4". | |
Bundles protocol information for network and transport layer communication.
|
related |