diff options
Diffstat (limited to 'testing/Messenger_test.c')
-rw-r--r-- | testing/Messenger_test.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c index 3c7c08e9..8b19ffa5 100644 --- a/testing/Messenger_test.c +++ b/testing/Messenger_test.c | |||
@@ -1,4 +1,19 @@ | |||
1 | 1 | /* Messenger test | |
2 | * | ||
3 | * This program adds a friend and accepts all friend requests with the proper message. | ||
4 | * | ||
5 | * It tries sending a message to the added friend. | ||
6 | * | ||
7 | * If it recieves a message from a friend it replies back. | ||
8 | * | ||
9 | * | ||
10 | * This is how I compile it: gcc -O2 -Wall -o test ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/DHT.c ../core/Messenger.c ../nacl/build/Linux/lib/amd64/* Messenger_test.c | ||
11 | * | ||
12 | * | ||
13 | * Command line arguments are the ip and port of a node (for bootstrapping). | ||
14 | * | ||
15 | * EX: ./test 127.0.0.1 33445 | ||
16 | */ | ||
2 | 17 | ||
3 | #include "../core/Messenger.h" | 18 | #include "../core/Messenger.h" |
4 | 19 | ||