Corelink CPP Client
Corelink C++ client library
 
Loading...
Searching...
No Matches
corelink_network_constants.hpp File Reference

Go to the source code of this file.

Classes

struct  corelink::core::network::constants::protocols::protocol
 A short protocol wrapper to allow for string representation of corelink supported protocols, with a few extra attributes which are used inside the client. More...
 

Namespaces

namespace  corelink
 
namespace  corelink::core
 
namespace  corelink::core::network
 
namespace  corelink::core::network::constants
 
namespace  corelink::core::network::constants::protocols
 

Enumerations

enum class  corelink::core::network::constants::state : uint8_t { corelink::core::network::constants::initialised = 0 , corelink::core::network::constants::connected = 1 , corelink::core::network::constants::stale = 2 , corelink::core::network::constants::in_error = 3 }
 Corelink channel states. Each value denotes a unique position in the bitmask. More...
 

Variables

CORELINK_CPP_ATTR_MAYBE_UNUSED constexpr CORELINK_EXPORT ptr_to_const_val< char > corelink::core::network::constants::IPV4_LOOP_BACK_ADDRESS
 Loop back address IPv4 representation.
 
CORELINK_CPP_ATTR_MAYBE_UNUSED constexpr CORELINK_EXPORT ptr_to_const_val< char > corelink::core::network::constants::IPV6_LOOP_BACK_ADDRESS
 Loop back address IPv6 representation.
 
static constexpr protocol corelink::core::network::constants::protocols::unknown
 Marker for unknown protocol to mark default protocol values.
 
static constexpr protocol corelink::core::network::constants::protocols::tcp {"tcp", 0}
 TCP protocol object for corelink protocols.
 
static constexpr protocol corelink::core::network::constants::protocols::udp {"udp", 1}
 UDP protocol object for corelink protocols.
 
static constexpr protocol corelink::core::network::constants::protocols::websocket {"ws", 2}
 Websocket protocol object for corelink protocols.