7efc5caca7
Modified coverage instructions |
||
---|---|---|
benchmark | ||
cmake | ||
src | ||
test | ||
.gitignore | ||
CMakeLists.txt | ||
Doxyfile.in | ||
LICENSE | ||
README.md | ||
rt.txt | ||
todo.txt |
README.md
netsi
Network simulation like in the early days
This project is a private experiment of a student in computer science. The aim is to get used to common protocols running in a modern computer network. There is no concrete aim or schedule that I follow, so updates may come irregularly.
Dependencies
- CMake >= 2.8
- C++11 compatible compiler
- Doxygen
- Google Test
- Boost >= 1.22
Platforms
Linux (Tested on Arch Linux) Windows (Tested on 8.1, MSVC 2015)
Building on Linux
Make sure you fulfill all the needed dependencies with your package manager
mkdir build
cd build
cmake ..
make all
cd ..
Building on Windows
-
Download the Gtest zip and extract it to some location called
-
Open the file /msvc/gtest.sln in Visual Studio and compile it both in Debug and Release mode
-
Download and install the CMake binary
-
Download and install the Doxygen binary
-
Download the recest Boost library zip and extract it to
-
Run /bootstrap.bat
-
Open a terminal in the folder (Shift + right click) and launch (take care of the correct version)
b2 toolset=msvc-12.0 variant=release link=shared threading=multi runtime-link=shared --build-type=complete --abbreviate-paths architecture=x86 address-model=32 stage -j2 b2 toolset=msvc-12.0 variant=debug link=shared threading=multi runtime-link=shared --build-type=complete --abbreviate-paths architecture=x86 address-model=32 stage -j2
-
Open CMake and set the netsi root folder
-
Define the variable GTEST_ROOT as filepath pointing to
-
Define the variable BOOST_INCLUDEDIR as filepath pointing to <boost_target>
-
Define the variable BOOST_LIBRARYDIR as filepath pointing to <boost_target>/stage/lib
-
Set CMAKE_CONFIGURATION_TYPES auf "Debug;Release"
-
Set CMAKE_INSTALL_PREFIX to the preferred installation location
-
Run CMake Configure
-
Run CMake Generate for your platform
-
Open the solution file in Visual Studio and compile
Documentation
There is a doxygen documentation that is automatically built when running the commands in "Building". Check out doc/html/index.html to browse the documentation after generation. Since this is a network simulator, every implementation of a protocol can be found when looking at the corresponding RFC.
Licensing
This project is licensed under the MIT license attached to this project.