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

Method SendLocalRouterInfo

libi2pd/NTCP2.cpp:1705–1709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1703 }
1704
1705 void NTCP2Session::SendLocalRouterInfo (bool update)
1706 {
1707 if (update || !IsOutgoing ()) // we send it in SessionConfirmed for outgoing session
1708 boost::asio::post (m_Server.GetService (), std::bind (&NTCP2Session::SendRouterInfo, shared_from_this ()));
1709 }
1710
1711 i2p::data::RouterInfo::SupportedTransports NTCP2Session::GetTransportType () const
1712 {

Callers 2

PeerConnectedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected