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

Function process_client_socket

dependencies/httplib/httplib.h:2499–2507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2497}
2498
2499inline bool process_client_socket(socket_t sock, time_t read_timeout_sec,
2500 time_t read_timeout_usec,
2501 time_t write_timeout_sec,
2502 time_t write_timeout_usec,
2503 std::function<bool(Stream &)> callback) {
2504 SocketStream strm(sock, read_timeout_sec, read_timeout_usec,
2505 write_timeout_sec, write_timeout_usec);
2506 return callback(strm);
2507}
2508
2509inline int shutdown_socket(socket_t sock) {
2510#ifdef _WIN32

Callers 2

process_socketMethod · 0.85
connect_with_proxyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected