StormByte C++ Library: Network module 1.1.0
StormByte-Network is the C++26 networking module of the StormByte suite.
Loading...
Searching...
No Matches
Enumerations
StormByte::Network::Connection::Read Namespace Reference

Read-side result codes. More...

Enumerations

enum class  Result {
  Success , WouldBlock , Closed , Failed ,
  Timeout , ShutdownRequest
}
 Outcome of a wait/read. More...
 

Detailed Description

Read-side result codes.

Enumeration Type Documentation

◆ Result

Outcome of a wait/read.

Enumerator
Success 

Data available or read ok.

WouldBlock 

Non-blocking: no data yet.

Closed 

Local/socket closed.

Failed 

Hard failure.

Timeout 

Wait timed out.

ShutdownRequest 

Peer shutdown detected.