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

Function close_socket

dependencies/httplib/httplib.h:2226–2232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2224}
2225
2226inline int close_socket(socket_t sock) {
2227#ifdef _WIN32
2228 return closesocket(sock);
2229#else
2230 return close(sock);
2231#endif
2232}
2233
2234template <typename T> inline ssize_t handle_EINTR(T fn) {
2235 ssize_t res = false;

Callers 10

create_socketFunction · 0.85
stopMethod · 0.85
httplib.hFile · 0.85
~ClientImplMethod · 0.85
close_socketMethod · 0.85
sendMethod · 0.85
process_requestMethod · 0.85
connect_with_proxyMethod · 0.85
initialize_sslMethod · 0.85

Calls 1

closeFunction · 0.85

Tested by

no test coverage detected