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

Function pushPingBroadcast

Engine/source/app/net/serverQuery.cpp:910–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

queryLanServersFunction · 0.85

Calls 2

addressFinishedFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected