![]() |
Nexus Engine
v0.0.1
|
Classes | |
| struct | RawResult |
| struct | RawAddress |
| struct | RawReceiveResult |
| struct | RawError |
Typedefs | |
| using | RawHandle = long long |
Enumerations | |
| enum class | RawErrorKind { None , WouldBlock , ConnectionInProgress , ConnectionReset , ConnectionAborted , ConnectionRefused , NotConnected , AddressInUse , HostUnreachable , NetworkUnreachable , Timeout , MessageTooLarge , PermissionDenied , Unknown , None , WouldBlock , ConnectionInProgress , ConnectionReset , ConnectionAborted , ConnectionRefused , NotConnected , AddressInUse , HostUnreachable , NetworkUnreachable , Timeout , MessageTooLarge , PermissionDenied , Unknown } |
| enum class | RawErrorKind { None , WouldBlock , ConnectionInProgress , ConnectionReset , ConnectionAborted , ConnectionRefused , NotConnected , AddressInUse , HostUnreachable , NetworkUnreachable , Timeout , MessageTooLarge , PermissionDenied , Unknown , None , WouldBlock , ConnectionInProgress , ConnectionReset , ConnectionAborted , ConnectionRefused , NotConnected , AddressInUse , HostUnreachable , NetworkUnreachable , Timeout , MessageTooLarge , PermissionDenied , Unknown } |
Functions | |
| RawError | RawTranslateErrno (int err) |
| RawHandle | RawCreateSocket (bool isTcp) |
| void | RawCloseSocket (RawHandle handle) |
| bool | RawSetNonBlocking (RawHandle handle, bool enabled) |
| bool | RawSetReuseAddr (RawHandle handle) |
| bool | RawBind (RawHandle handle, unsigned short port) |
| bool | RawListen (RawHandle handle, int backlog) |
| RawHandle | RawAccept (RawHandle handle) |
| bool | RawParseIPv4 (const char *host, unsigned short port, RawAddress &out) |
| RawResult | RawConnect (RawHandle handle, const RawAddress &address) |
| RawResult | RawCompleteConnect (RawHandle handle) |
| RawResult | RawSend (RawHandle handle, const void *data, unsigned long size) |
| RawResult | RawReceive (RawHandle handle, void *buffer, unsigned long size) |
| RawResult | RawSendTo (RawHandle handle, const RawAddress &dest, const void *data, unsigned long size) |
| RawReceiveResult | RawReceiveFrom (RawHandle handle, void *buffer, unsigned long size) |
| RawError | RawTranslateLastError () |
| RawError | RawTranslateErrorCode (int platformErrno) |
| void | RawEnsureInitialized () |
| RawResult | RawConnect (RawHandle handle, const RawAddress &address, bool isTCPLocal) |
| using Nexus::Network::Internal::RawHandle = long long |
|
strong |
|
strong |
|
nodiscard |
| void Nexus::Network::Internal::RawCloseSocket | ( | RawHandle | handle | ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| void Nexus::Network::Internal::RawEnsureInitialized | ( | ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |