#include <compat.h>
#include <threadinterrupt.h>
#include <util/time.h>
#include <chrono>
#include <string>
Go to the source code of this file.
|
class | Sock |
| RAII helper class that manages a socket. More...
|
|
◆ CloseSocket()
Close socket and set hSocket to INVALID_SOCKET.
Definition at line 339 of file sock.cpp.
◆ NetworkErrorString()
std::string NetworkErrorString |
( |
int |
err | ) |
|
Return readable error string for a network error code.
Definition at line 332 of file sock.cpp.
◆ MAX_WAIT_FOR_IO
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 19 of file sock.h.