| 730 | //----------------------------------------------------------------------------- |
| 731 | |
| 732 | void sendHeartbeat( U8 flags ) |
| 733 | { |
| 734 | // send heartbeats to all of the master servers: |
| 735 | Vector<MasterInfo> *masterList = getMasterServerList(); |
| 736 | for(U32 i = 0; i < (U32)masterList->size(); i++) |
| 737 | { |
| 738 | char buffer[256]; |
| 739 | Net::addressToString(&(*masterList)[i].address, buffer); |
| 740 | // Send a request to the master server for the game types: |
| 741 | Con::printf( "Sending heartbeat to master server [%s]", buffer ); |
| 742 | sendPacket( NetInterface::GameHeartbeat, &(*masterList)[i].address, 0, gPingSession, flags ); |
| 743 | } |
| 744 | } |
| 745 | |
| 746 | //----------------------------------------------------------------------------- |
| 747 |
no test coverage detected