MCPcopy Create free account
hub / github.com/chrxh/alien / create_and_connect_socket

Method create_and_connect_socket

external/cpp-httplib/httplib.h:5954–5960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5952 }
5953
5954 inline bool ClientImpl::create_and_connect_socket(Socket& socket,
5955 Error& error) {
5956 auto sock = create_client_socket(error);
5957 if (sock == INVALID_SOCKET) { return false; }
5958 socket.sock = sock;
5959 return true;
5960 }
5961
5962 inline void ClientImpl::shutdown_ssl(Socket& /*socket*/,
5963 bool /*shutdown_gracefully*/) {

Callers

nothing calls this directly

Calls 1

create_client_socketFunction · 0.85

Tested by

no test coverage detected