3#include <StormByte/network/visibility.h>
8 #include <netinet/in.h>
9 #include <sys/socket.h>
18namespace StormByte::Network::Connection {
23 enum class STORMBYTE_NETWORK_PUBLIC Protocol:
int {
33 constexpr STORMBYTE_NETWORK_PUBLIC std::string ProtocolString(
const Protocol& protocol)
noexcept {
49 constexpr STORMBYTE_NETWORK_PUBLIC
int ProtocolInt(
const Protocol& protocol)
noexcept {
50 return static_cast<int>(protocol);