StormByte-Network 2.0.0
C++26 networking module of the StormByte suite
 
Loading...
Searching...
No Matches
status.hxx File Reference
#include <StormByte/visibility.h>
Include dependency graph for status.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 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 const char * StormByte::Network::Connection::StatusToString (const Status &status) noexcept
 Status as text.
 
constexpr bool StormByte::Network::Connection::IsConnected (const Status &status) noexcept
 Whether the connection is usable for I/O (Connected or Negotiating).