MCPcopy Create free account
hub / github.com/ElementsProject/elements / CheckControlSock

Method CheckControlSock

src/i2p.cpp:302–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302void Session::CheckControlSock()
303{
304 LOCK(m_mutex);
305
306 std::string errmsg;
307 if (!m_control_sock->IsConnected(errmsg)) {
308 Log("Control socket error: %s", errmsg);
309 Disconnect();
310 }
311}
312
313void Session::DestGenerate(const Sock& sock)
314{

Callers

nothing calls this directly

Calls 2

LogFunction · 0.85
IsConnectedMethod · 0.45

Tested by

no test coverage detected