summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-09 13:27:47 -0400
committerirungentoo <irungentoo@gmail.com>2013-07-09 13:27:47 -0400
commit127fced11fcd63dac78bdbf1077ee0e9c1478524 (patch)
tree756b38ff1a74215bd9c0def7fb904e7a2ff0965f /testing
parent4d5063852859d44547497f1d3c0b5af9c676b2ba (diff)
Added comment block to Messenger test.
Diffstat (limited to 'testing')
-rw-r--r--testing/Messenger_test.c17
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