MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / close_socket

Function close_socket

external/httplib.h:3034–3040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3032 size_ = 0;
3033}
3034inline int close_socket(socket_t sock) {
3035#ifdef _WIN32
3036 return closesocket(sock);
3037#else
3038 return close(sock);
3039#endif
3040}
3041
3042template <typename T> inline ssize_t handle_EINTR(T fn) {
3043 ssize_t res = 0;

Callers 10

create_socketFunction · 0.85
stopMethod · 0.85
httplib.hFile · 0.85
~ClientImplMethod · 0.85
close_socketMethod · 0.85
send_Method · 0.85
handle_requestMethod · 0.85
connect_with_proxyMethod · 0.85
initialize_sslMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected