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

Method ReceiveHandshake

libi2pd_client/SAM.cpp:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 void SAMSocket::ReceiveHandshake ()
78 {
79 m_Socket.async_read_some (boost::asio::buffer(m_Buffer, SAM_SOCKET_BUFFER_SIZE),
80 std::bind(&SAMSocket::HandleHandshakeReceived, shared_from_this (),
81 std::placeholders::_1, std::placeholders::_2));
82 }
83
84 static int ExtractVersion (std::string_view ver)
85 {

Callers 1

HandleAcceptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected