#include <simple_socket/SimpleSocket.h>
Public Member Functions | |
| operator bool () const noexcept | |
| simple check for successfull IO | |
Public Attributes | |
| IOStatus | status |
| size_t | bytes |
Success bytes is meaningful, including zero
WouldBlock bytes == 0 only produced when socket is non-blocking
Timeout bytes == 0
PeerDisconnected bytes == 0 only produced for connection-oriented sockets
DestinationUnavailable bytes == 0 primarily datagram semantics
Definition at line 83 of file SimpleSocket.h.
|
inlineexplicitnoexcept |
simple check for successfull IO
Definition at line 89 of file SimpleSocket.h.
| size_t NET::IOResult::bytes |
Definition at line 86 of file SimpleSocket.h.
| IOStatus NET::IOResult::status |
Definition at line 85 of file SimpleSocket.h.