diff options
author | irungentoo <irungentoo@gmail.com> | 2013-06-26 15:05:15 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-06-26 15:05:15 -0400 |
commit | e6d14d1dad10c8d51f079d31fe26c6aa74a01639 (patch) | |
tree | db77324dcfb4c2c5a743ecb3f5211e01a35bb8f2 /core | |
parent | dcc3921682c8bededfac7d76f4976fd56b051c72 (diff) |
Oups.
Diffstat (limited to 'core')
-rw-r--r-- | core/network.c | 2 |
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) |