MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / sendPingPacket

Method sendPingPacket

Engine/source/core/dnet.cpp:108–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void ConnectionProtocol::sendPingPacket()
109{
110 U8 buffer[16];
111 BitStream bs(buffer, 16);
112 buildSendPacketHeader(&bs, PingPacket);
113 if(gLogToConsole)
114 Con::printf("send ping %d", mLastSendSeq);
115
116 sendPacket(&bs);
117}
118
119void ConnectionProtocol::sendAckPacket()
120{

Callers

nothing calls this directly

Calls 2

printfFunction · 0.85
sendPacketFunction · 0.85

Tested by

no test coverage detected