MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsSelectable

Method IsSelectable

src/util/sock.cpp:132–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132bool Sock::IsSelectable() const
133{
134#if defined(USE_POLL) || defined(WIN32)
135 return true;
136#else
137 return m_socket < FD_SETSIZE;
138#endif
139}
140
141bool Sock::Wait(std::chrono::milliseconds timeout, Event requested, Event* occurred) const
142{

Callers 4

NewSockAcceptedMethod · 0.45
CreateSockOSFunction · 0.45
WaitManyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected