![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <compat/compat.h>#include <util/threadinterrupt.h>#include <util/time.h>#include <chrono>#include <memory>#include <span>#include <string>#include <unordered_map>Go to the source code of this file.
Classes | |
| class | Sock |
| RAII helper class that manages a socket and closes it automatically when it goes out of scope. More... | |
| struct | Sock::Events |
| Auxiliary requested/occurred events to wait for in WaitMany(). More... | |
| struct | Sock::HashSharedPtrSock |
| struct | Sock::EqualSharedPtrSock |
Functions | |
| std::string | NetworkErrorString (int err) |
| Return readable error string for a network error code. | |
Variables | |
| static constexpr auto | MAX_WAIT_FOR_IO = 1s |
| Maximum time to wait for I/O readiness. | |
| std::string NetworkErrorString | ( | int | err | ) |