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

Method create_and_connect_socket

examples/server/httplib.h:6284–6290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6282}
6283
6284inline bool ClientImpl::create_and_connect_socket(Socket &socket,
6285 Error &error) {
6286 auto sock = create_client_socket(error);
6287 if (sock == INVALID_SOCKET) { return false; }
6288 socket.sock = sock;
6289 return true;
6290}
6291
6292inline void ClientImpl::shutdown_ssl(Socket & /*socket*/,
6293 bool /*shutdown_gracefully*/) {

Callers

nothing calls this directly

Calls 1

create_client_socketFunction · 0.85

Tested by

no test coverage detected