MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / pushPingRequest

Function pushPingRequest

engine/source/network/serverQuery.cc:748–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746//-----------------------------------------------------------------------------
747
748static void pushPingRequest( const NetAddress* addr )
749{
750 if( addressFinished( addr ) )
751 return;
752
753 Ping p;
754 p.address = *addr;
755 p.session = gPingSession;
756 p.key = 0;
757 p.time = 0;
758 p.tryCount = gPingRetryCount;
759 p.broadcast = false;
760 gPingList.push_back( p );
761 gServerPingCount++;
762}
763
764//-----------------------------------------------------------------------------
765

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