|
StormByte C++ Library: Network module 1.1.0
StormByte-Network is the C++26 networking module of the StormByte suite.
|
#include <StormByte/visibility.h>#include <string>

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::Status : unsigned short { StormByte::Network::Connection::Connected , StormByte::Network::Connection::Disconnected , StormByte::Network::Connection::Connecting , StormByte::Network::Connection::Disconnecting , StormByte::Network::Connection::Negotiating , StormByte::Network::Connection::Rejected , StormByte::Network::Connection::PeerClosed , StormByte::Network::Connection::Error } |
| Lifecycle of a connection or listener. More... | |
Functions | |
| constexpr std::string | StormByte::Network::Connection::StatusToString (const Status &status) |
| Status as text. | |
| constexpr bool | StormByte::Network::Connection::IsConnected (const Status &status) noexcept |
| Whether the connection is usable for I/O (Connected or Negotiating). | |