summaryrefslogtreecommitdiff
path: root/core/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/network.c')
-rw-r--r--core/network.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/network.c b/core/network.c
index 8c9cd0bd..5aa0d304 100644
--- a/core/network.c
+++ b/core/network.c
@@ -23,7 +23,6 @@
23 23
24#include "network.h" 24#include "network.h"
25 25
26
27/* returns current UNIX time in microseconds (us). */ 26/* returns current UNIX time in microseconds (us). */
28uint64_t current_time() 27uint64_t current_time()
29{ 28{
@@ -128,7 +127,6 @@ int init_networking(IP ip, uint16_t port)
128 return -1; 127 return -1;
129 #endif 128 #endif
130 129
131
132 /* Functions to increase the size of the send and receive UDP buffers 130 /* Functions to increase the size of the send and receive UDP buffers
133 NOTE: uncomment if necessary */ 131 NOTE: uncomment if necessary */
134 /* 132 /*
@@ -146,7 +144,6 @@ int init_networking(IP ip, uint16_t port)
146 /*Enable broadcast on socket*/ 144 /*Enable broadcast on socket*/
147 int broadcast = 1; 145 int broadcast = 1;
148 setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (char*)&broadcast, sizeof(broadcast)); 146 setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (char*)&broadcast, sizeof(broadcast));
149
150 147
151 /* Set socket nonblocking */ 148 /* Set socket nonblocking */
152 #ifdef WIN32 149 #ifdef WIN32