MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / is_socket_open

Method is_socket_open

examples/server/httplib.h:7886–7889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7884inline int ClientImpl::port() const { return port_; }
7885
7886inline size_t ClientImpl::is_socket_open() const {
7887 std::lock_guard<std::mutex> guard(socket_mutex_);
7888 return socket_.is_open();
7889}
7890
7891inline socket_t ClientImpl::socket() const { return socket_.sock; }
7892

Callers

nothing calls this directly

Calls 1

is_openMethod · 0.45

Tested by

no test coverage detected