MCPcopy Create free account
hub / github.com/LUX-Core/lux / IsSelectableSocket

Function IsSelectableSocket

src/compat.h:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92size_t strnlen_int(const char* start, size_t max_len);
93
94bool static inline IsSelectableSocket(SOCKET s)
95{
96#ifdef WIN32
97 return true;
98#else
99 return (s < FD_SETSIZE);
100#endif
101}
102
103#endif // BITCOIN_COMPAT_H

Callers 4

InterruptibleRecvFunction · 0.85
ConnectNodeFunction · 0.85
AcceptConnectionFunction · 0.85
BindListenPortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected