diff options
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r-- | testing/DHT_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index 03a49a3e..c8af599a 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -1,12 +1,12 @@ | |||
1 | /* DHT test | 1 | /* DHT test |
2 | * A file with a main that runs our DHT for testing. | 2 | * A file with a main that runs our DHT for testing. |
3 | * | 3 | * |
4 | * Compile with: gcc -Wall -o test ../core/DHT.c DHT_test.c | 4 | * Compile with: gcc -O2 -Wall -o test ../core/DHT.c ../core/network.c DHT_test.c |
5 | * | 5 | * |
6 | * Command line arguments are the ip and port of a node and the client_id (32 bytes) of the friend you want to find the ip_port of | 6 | * Command line arguments are the ip and port of a node and the client_id (32 bytes) of the friend you want to find the ip_port of |
7 | * EX: ./test 127.0.0.1 33445 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef | 7 | * EX: ./test 127.0.0.1 33445 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef |
8 | */ | 8 | */ |
9 | 9 | #include "../core/network.h" | |
10 | #include "../core/DHT.h" | 10 | #include "../core/DHT.h" |
11 | 11 | ||
12 | #include <string.h> | 12 | #include <string.h> |