summaryrefslogtreecommitdiff
path: root/core/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/network.c')
-rw-r--r--core/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/network.c b/core/network.c
index 43168da4..d5389bfa 100644
--- a/core/network.c
+++ b/core/network.c
@@ -79,7 +79,7 @@ int init_networking(IP ip ,uint16_t port)
79 sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); 79 sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
80 80
81 //Functions to increase the size of the send and recieve UDP buffers 81 //Functions to increase the size of the send and recieve UDP buffers
82 //NOTE: uncomment if nn 82 //NOTE: uncomment if necessary
83 /* 83 /*
84 int n = 1024 * 1024 * 2; 84 int n = 1024 * 1024 * 2;
85 if(setsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char*)&n, sizeof(n)) == -1) 85 if(setsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char*)&n, sizeof(n)) == -1)