MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / is_readable

Method is_readable

dependencies/httplib/httplib.h:4633–4635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4631inline SocketStream::~SocketStream() {}
4632
4633inline bool SocketStream::is_readable() const {
4634 return select_read(sock_, read_timeout_sec_, read_timeout_usec_) > 0;
4635}
4636
4637inline bool SocketStream::is_writable() const {
4638 return select_write(sock_, write_timeout_sec_, write_timeout_usec_) > 0;

Callers

nothing calls this directly

Calls 1

select_readFunction · 0.85

Tested by

no test coverage detected