#include <compat.h>
#include <threadinterrupt.h>
#include <util/time.h>
#include <chrono>
#include <memory>
#include <string>
#include <unordered_map>
Go to the source code of this file.
◆ CloseSocket()
bool CloseSocket |
( |
SOCKET & |
hSocket | ) |
|
Close socket and set hSocket to INVALID_SOCKET.
Definition at line 405 of file sock.cpp.
◆ NetworkErrorString()
std::string NetworkErrorString |
( |
int |
err | ) |
|
Return readable error string for a network error code.
Definition at line 398 of file sock.cpp.
◆ MAX_WAIT_FOR_IO
constexpr auto MAX_WAIT_FOR_IO = 1s |
|
staticconstexpr |
Maximum time to wait for I/O readiness.
It will take up until this time to break off in case of an interruption.
Definition at line 21 of file sock.h.