79 default:
return "Error";
Connection types of the Network module.
Definition client.hxx:55
constexpr const char * StatusToString(const Status &status) noexcept
Status as text.
Definition status.hxx:69
constexpr bool IsConnected(const Status &status) noexcept
Whether the connection is usable for I/O (Connected or Negotiating).
Definition status.hxx:88
Status
Lifecycle of a connection or listener.
Definition status.hxx:53
@ Disconnecting
Shutdown in progress.
@ Connected
Connection established.
@ Rejected
Peer or local rejection.
@ PeerClosed
Peer closed the connection.
@ Connecting
Connect or listen in progress.
@ Disconnected
Closed / idle.
@ Negotiating
Application-level handshake.
#define STORMBYTE_NETWORK_PUBLIC
Definition visibility.h:51