summaryrefslogtreecommitdiff
path: root/testing/Lossless_UDP_testclient.c
diff options
context:
space:
mode:
authorKelong Cong <kelongcong@gmail.com>2014-03-12 21:40:52 +0000
committerKelong Cong <kelongcong@gmail.com>2014-03-12 21:40:52 +0000
commita13de8b105eb87c4f525319a09e1fe0fb318fc6c (patch)
tree69968d20ac76869981b43d7058718261bb11ceab /testing/Lossless_UDP_testclient.c
parent128a0d24446f4d1b5071795742e81e17a9e73fd5 (diff)
updated compilation and execution instructions for Lossless UDP tests, and fixed minor typos
Diffstat (limited to 'testing/Lossless_UDP_testclient.c')
-rw-r--r--testing/Lossless_UDP_testclient.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/Lossless_UDP_testclient.c b/testing/Lossless_UDP_testclient.c
index de34dd6b..535509e0 100644
--- a/testing/Lossless_UDP_testclient.c
+++ b/testing/Lossless_UDP_testclient.c
@@ -4,10 +4,10 @@
4 * 4 *
5 * Best used in combination with Lossless_UDP_testserver 5 * Best used in combination with Lossless_UDP_testserver
6 * 6 *
7 * Compile with: gcc -O2 -Wall -lsodium -o testclient ../core/network.c ../core/Lossless_UDP.c Lossless_UDP_testclient.c 7 * Compile with: gcc -O2 -Wall -lsodium -o testclient ../toxcore/network.c ../toxcore/Lossless_UDP.c ../toxcore/util.c Lossless_UDP_testclient.c
8 * 8 *
9 * Command line arguments are the ip and port to connect and send the file to. 9 * Command line arguments are the ip and port to connect and send the file to.
10 * EX: ./testclient 127.0.0.1 33445 filename.txt 10 * EX: ./testclient --ipv4 127.0.0.1 33445 filename.txt
11 * 11 *
12 * Copyright (C) 2013 Tox project All Rights Reserved. 12 * Copyright (C) 2013 Tox project All Rights Reserved.
13 * 13 *
@@ -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#if defined(_WIN32) || defined(__WIN32__) || defined (WIN32) 40#if defined(_WIN32) || defined(__WIN32__) || defined (WIN32)