projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reduced time to wait for UDP broadcast answer to auto-detect network server
[rocksndiamonds.git]
/
src
/
network.c
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);