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

Function pushPingRequest

Engine/source/app/net/serverQuery.cpp:892–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

890//-----------------------------------------------------------------------------
891
892static void pushPingRequest( const NetAddress* addr )
893{
894 if( addressFinished( addr ) )
895 return;
896
897 Ping p;
898 p.address = *addr;
899 p.session = gPingSession;
900 p.key = 0;
901 p.time = 0;
902 p.tryCount = gPingRetryCount;
903 p.broadcast = false;
904 gPingList.push_back( p );
905 gServerPingCount++;
906}
907
908//-----------------------------------------------------------------------------
909

Callers 5

querySingleServerFunction · 0.85
pushServerFavoritesFunction · 0.85
handleGamePingResponseFunction · 0.85

Calls 2

addressFinishedFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected