From: Holger Schemel Date: Wed, 27 Jun 2018 06:40:47 +0000 (+0200) Subject: reduced time to wait for UDP broadcast answer to auto-detect network server X-Git-Tag: 4.1.1.0~97 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=fcc5bdf84b1500eb31db02ef5aab51012338db7f;p=rocksndiamonds.git reduced time to wait for UDP broadcast answer to auto-detect network server --- diff --git a/src/network.c b/src/network.c index 66a57e45..cabcfd30 100644 --- a/src/network.c +++ b/src/network.c @@ -219,7 +219,7 @@ boolean ConnectToServer(char *hostname, int port) DrawNetworkText("Looking for local network server ..."); - if (SDLNet_CheckSockets(udp_socket_set, 1000) == 1) + if (SDLNet_CheckSockets(udp_socket_set, 500) == 1) { int num_packets = SDLNet_UDP_Recv(udp, &packet);