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

Function pushPingBroadcast

engine/source/network/serverQuery.cc:766–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764//-----------------------------------------------------------------------------
765
766static void pushPingBroadcast( const NetAddress* addr )
767{
768 if( addressFinished( addr ) )
769 return;
770
771 Ping p;
772 p.address = *addr;
773 p.session = gPingSession;
774 p.key = 0;
775 p.time = 0;
776 p.tryCount = 1; // only try this once
777 p.broadcast = true;
778 gPingList.push_back( p );
779 // Don't increment gServerPingCount, broadcasts are not
780 // counted as requests.
781}
782
783//-----------------------------------------------------------------------------
784

Callers 1

queryLanServersFunction · 0.85

Calls 2

addressFinishedFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected