MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / FindNTCP2Session

Method FindNTCP2Session

libi2pd/NTCP2.cpp:1895–1901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1893 }
1894
1895 std::shared_ptr<NTCP2Session> NTCP2Server::FindNTCP2Session (const i2p::data::IdentHash& ident)
1896 {
1897 auto it = m_NTCP2Sessions.find (ident);
1898 if (it != m_NTCP2Sessions.end ())
1899 return it->second;
1900 return nullptr;
1901 }
1902
1903 void NTCP2Server::Connect(std::shared_ptr<NTCP2Session> conn)
1904 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected