From 5d8a1c60e8a1f421566043a288fabb732624ccb9 Mon Sep 17 00:00:00 2001 From: William Culver Date: Wed, 31 Jul 2013 23:54:30 +0100 Subject: [PATCH] added required linker flag to 'compile with' remark --- testing/Lossless_UDP_testclient.c | 2 +- testing/Lossless_UDP_testserver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/Lossless_UDP_testclient.c b/testing/Lossless_UDP_testclient.c index b96756ab..7093afec 100644 --- a/testing/Lossless_UDP_testclient.c +++ b/testing/Lossless_UDP_testclient.c @@ -4,7 +4,7 @@ * * Best used in combination with Lossless_UDP_testserver * - * Compile with: gcc -O2 -Wall -o testclient ../core/network.c ../core/Lossless_UDP.c Lossless_UDP_testclient.c + * Compile with: gcc -O2 -Wall -lsodium -o testclient ../core/network.c ../core/Lossless_UDP.c Lossless_UDP_testclient.c * * Command line arguments are the ip and port to connect and send the file to. * EX: ./testclient 127.0.0.1 33445 filename.txt diff --git a/testing/Lossless_UDP_testserver.c b/testing/Lossless_UDP_testserver.c index 29b0ade5..84a64b38 100644 --- a/testing/Lossless_UDP_testserver.c +++ b/testing/Lossless_UDP_testserver.c @@ -4,7 +4,7 @@ * * Best used in combination with Lossless_UDP_testclient * - * Compile with: gcc -O2 -Wall -o testserver ../core/network.c ../core/Lossless_UDP.c Lossless_UDP_testserver.c + * Compile with: gcc -O2 -Wall -lsodium -o testserver ../core/network.c ../core/Lossless_UDP.c Lossless_UDP_testserver.c * * Command line argument is the name of the file to save what we recieve to. * EX: ./testserver filename1.txt