Receive the UDP packets. */
| 148 | |
| 149 | /** Receive the UDP packets. */ |
| 150 | void NetworkBackgroundUDPLoop() |
| 151 | { |
| 152 | if (_network_udp_server) { |
| 153 | _udp_server.ReceivePackets(); |
| 154 | } else { |
| 155 | _udp_client.ReceivePackets(); |
| 156 | if (_network_udp_broadcast > 0) _network_udp_broadcast--; |
| 157 | } |
| 158 | } |
no test coverage detected