StormByte C++ Library: Network module 1.1.0
StormByte-Network is the C++26 networking module of the StormByte suite.
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
protocol.hxx File Reference
#include <StormByte/network/visibility.h>
#include <winsock2.h>
#include <string>
Include dependency graph for protocol.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  StormByte
 
namespace  StormByte::Network
 Network module of the StormByte suite.
 
namespace  StormByte::Network::Connection
 Connection types of the Network module.
 

Enumerations

enum class  StormByte::Network::Connection::Protocol : int { StormByte::Network::Connection::IPv4 = AF_INET , StormByte::Network::Connection::IPv6 = AF_INET6 }
 Address family for sockets. More...
 

Functions

constexpr std::string StormByte::Network::Connection::ProtocolString (const Protocol &protocol) noexcept
 Protocol as text.
 
constexpr int StormByte::Network::Connection::ProtocolInt (const Protocol &protocol) noexcept
 Protocol as AF_* integer.