mirror of
https://github.com/TokTok/c-toxcore
synced 2026-06-04 01:41:34 +00:00
Merge pull request #224 from cedeon/master
added required linker flag to 'compile with' remark
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user