projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5771da1
)
reduced time to wait for UDP broadcast answer to auto-detect network server
author
Holger Schemel
<info@artsoft.org>
Wed, 27 Jun 2018 06:40:47 +0000
(08:40 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 27 Jun 2018 06:40:47 +0000
(08:40 +0200)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index 66a57e4591a870641f196999b8a393e660e25cb5..cabcfd3030485ce0b55fc24ba40f363f171bb89f 100644
(file)
--- 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,
10
00) == 1)
+ if (SDLNet_CheckSockets(udp_socket_set,
5
00) == 1)
{
int num_packets = SDLNet_UDP_Recv(udp, &packet);