MCPcopy Create free account
hub / github.com/amule-project/amule / SendBuddyPing

Method SendBuddyPing

src/BaseClient.cpp:2522–2528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2520// Kad added by me
2521
2522bool CUpDownClient::SendBuddyPing() {
2523 SetLastBuddyPingPongTime();
2524 CPacket* buddyPing = new CPacket(OP_BUDDYPING, 0, OP_EMULEPROT);
2525 theStats::AddUpOverheadKad(buddyPing->GetPacketSize());
2526 AddDebugLogLineN(logLocalClient,"Local Client: OP_BUDDYPING to " + GetFullIP());
2527 return SafeSendPacket(buddyPing);
2528}
2529
2530
2531/* Statistics */

Callers 1

ProcessMethod · 0.80

Calls 1

GetPacketSizeMethod · 0.80

Tested by

no test coverage detected