From 127fced11fcd63dac78bdbf1077ee0e9c1478524 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Tue, 9 Jul 2013 13:27:47 -0400 Subject: Added comment block to Messenger test. --- testing/Messenger_test.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'testing') 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 @@ - +/* Messenger test + * + * This program adds a friend and accepts all friend requests with the proper message. + * + * It tries sending a message to the added friend. + * + * If it recieves a message from a friend it replies back. + * + * + * 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 + * + * + * Command line arguments are the ip and port of a node (for bootstrapping). + * + * EX: ./test 127.0.0.1 33445 + */ #include "../core/Messenger.h" -- cgit v1.2.3