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

Function shutdown_socket

dependencies/httplib/httplib.h:2509–2515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2507}
2508
2509inline int shutdown_socket(socket_t sock) {
2510#ifdef _WIN32
2511 return shutdown(sock, SD_BOTH);
2512#else
2513 return shutdown(sock, SHUT_RDWR);
2514#endif
2515}
2516
2517template <typename BindOrConnect>
2518socket_t create_socket(const char *host, const char *ip, int port,

Callers 8

stopMethod · 0.85
~ClientImplMethod · 0.85
shutdown_socketMethod · 0.85
sendMethod · 0.85
process_requestMethod · 0.85
connect_with_proxyMethod · 0.85
initialize_sslMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected