summaryrefslogtreecommitdiff
path: root/testing/Lossless_UDP_testserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/Lossless_UDP_testserver.c')
-rw-r--r--testing/Lossless_UDP_testserver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/Lossless_UDP_testserver.c b/testing/Lossless_UDP_testserver.c
index 4ef098d2..dd4612f5 100644
--- a/testing/Lossless_UDP_testserver.c
+++ b/testing/Lossless_UDP_testserver.c
@@ -4,7 +4,7 @@
4 * 4 *
5 * Best used in combination with Lossless_UDP_testclient 5 * Best used in combination with Lossless_UDP_testclient
6 * 6 *
7 * Compile with: gcc -O2 -Wall -lsodium -o testserver ../core/network.c ../core/Lossless_UDP.c Lossless_UDP_testserver.c 7 * Compile with: gcc -O2 -Wall -lsodium -o testserver ../toxcore/network.c ../toxcore/Lossless_UDP.c ../toxcore/util.c Lossless_UDP_testserver.c
8 * 8 *
9 * Command line argument is the name of the file to save what we receive to. 9 * Command line argument is the name of the file to save what we receive to.
10 * EX: ./testserver filename1.txt 10 * EX: ./testserver filename1.txt
@@ -34,6 +34,7 @@
34 34
35#include "../toxcore/network.h" 35#include "../toxcore/network.h"
36#include "../toxcore/Lossless_UDP.h" 36#include "../toxcore/Lossless_UDP.h"
37#include "../toxcore/util.h"
37#include "misc_tools.c" 38#include "misc_tools.c"
38 39
39//Sleep function (x = milliseconds) 40//Sleep function (x = milliseconds)