StormByte-Network 4.0.0
C++26 networking module of the StormByte suite
Loading...
Searching...
No Matches
protocol.hxx File Reference
#include <StormByte/network/visibility.h>
#include <winsock2.h>
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
 Root namespace of the StormByte suite.
namespace  StormByte::Network
 Network module of the StormByte suite.
namespace  StormByte::Network::Connection
 Connection namespace.

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 const char * 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.