Small update.

This commit is contained in:
irungentoo 2013-06-26 10:05:30 -04:00
parent c7f7e30c75
commit 81e2043df9

View File

@ -1,12 +1,12 @@
/* DHT test /* DHT test
* A file with a main that runs our DHT for testing. * A file with a main that runs our DHT for testing.
* *
* Compile with: gcc -Wall -o test ../core/DHT.c DHT_test.c * Compile with: gcc -O2 -Wall -o test ../core/DHT.c ../core/network.c DHT_test.c
* *
* 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 * 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
* EX: ./test 127.0.0.1 33445 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef * EX: ./test 127.0.0.1 33445 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef
*/ */
#include "../core/network.h"
#include "../core/DHT.h" #include "../core/DHT.h"
#include <string.h> #include <string.h>