Find all servers */
| 100 | |
| 101 | /** Find all servers */ |
| 102 | void NetworkUDPSearchGame() |
| 103 | { |
| 104 | /* We are still searching.. */ |
| 105 | if (_network_udp_broadcast > 0) return; |
| 106 | |
| 107 | Debug(net, 3, "Searching server"); |
| 108 | |
| 109 | NetworkUDPBroadCast(*_udp_client.socket); |
| 110 | _network_udp_broadcast = 300; // Stay searching for 300 ticks |
| 111 | } |
| 112 | |
| 113 | /** Initialize the whole UDP bit. */ |
| 114 | void NetworkUDPInitialize() |
no test coverage detected