Basic Network Library based on Boost framework.
- g++
- Boost framework (will be automatically installed by
make
utility) - Crypto++
- TCP timeout before keep alive probes are sent [tcp_connection.cpp]
- Wait time while waiting for io thread to set up the connection [base_network.h]
Simply run make
to compile all the examples.
bootstrap.bat
b2.exe --with-system --with-thread --with-date_time --with-regex --prefix=<path>
- Open the visual studio project from project/netlib.vcxproj
- Compile boost library (preferably version 1.55) and crpto++ libraries
- Compile the
ed25519
project present inlib/ed25519
folder and copy theed25519.lib
file inlib
folder - copy
cryptlib.lib
file inlib
folder - copy
lib/ed25519
folder andcrypto++
library folder toinclude/
folder (for .h include files) - Open project properties and add
include/
folder,<path to boost library>
toConfiguration Properties -> C/C++ -> Additional Include Directories
- Add
<path to compiled boost libs>
andlib
folder toConfiguration Properties -> Linker -> Additional Library Directories
- Choose files from examples and add to project to run test one by one
- Note that the cryptopp library should be extracted to folder named
cryptopp