MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / shutdown_socket

Method shutdown_socket

examples/server/httplib.h:6300–6303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6298}
6299
6300inline void ClientImpl::shutdown_socket(Socket &socket) {
6301 if (socket.sock == INVALID_SOCKET) { return; }
6302 detail::shutdown_socket(socket.sock);
6303}
6304
6305inline void ClientImpl::close_socket(Socket &socket) {
6306 // If there are requests in flight in another thread, usually closing

Callers

nothing calls this directly

Calls 1

shutdown_socketFunction · 0.85

Tested by

no test coverage detected