Function getLastSocketErrorCode
Defined in File socket_t.h
Function Documentation
-
inline std::error_code getLastSocketErrorCode()
Get the last socket error as an std::error_code.
On Windows, this will use WSAGetLastError and the system category, while on other platforms it will use errno and the generic category.
- Returns:
The last socket error