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

Function pushPingBroadcast

Engine/source/app/net/serverQuery.cpp:909–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907//-----------------------------------------------------------------------------
908
909static void pushPingBroadcast( const NetAddress* addr )
910{
911 if( addressFinished( addr ) )
912 return;
913
914 Ping p;
915 p.address = *addr;
916 p.session = gPingSession;
917 p.key = 0;
918 p.time = 0;
919 p.tryCount = 1; // only try this once
920 p.broadcast = true;
921 gPingList.push_back( p );
922 // Don't increment gServerPingCount, broadcasts are not
923 // counted as requests.
924}
925
926//-----------------------------------------------------------------------------
927

Callers 1

queryLanServersFunction · 0.85

Calls 2

addressFinishedFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected