https://github.com/ahamez/netcode
A C++11 network coding library.
https://github.com/ahamez/netcode
network-coding
Last synced: about 2 months ago
JSON representation
A C++11 network coding library.
- Host: GitHub
- URL: https://github.com/ahamez/netcode
- Owner: ahamez
- License: bsd-2-clause
- Created: 2015-03-11T21:23:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-12-30T14:47:55.000Z (5 months ago)
- Last Synced: 2025-04-11T21:52:34.723Z (about 2 months ago)
- Topics: network-coding
- Language: C++
- Homepage:
- Size: 3.39 MB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Description
The `netcode` library is a C++11 [network coding](https://en.wikipedia.org/wiki/Linear_network_coding) library using [Galois fields](https://en.wikipedia.org/wiki/Finite_field). C interfaces are also provided.
### Requirements
- gcc >= 4.7 or clang >= 3.3
- gf-complete (https://github.com/ceph/gf-complete)
- cmake >= 3.10
- boost 1.68### Building and installing
Basic commands:
```
$ mkdir build && cd build
$ cmake ..
$ make && make install
```Configuring gf-complete path:
```$ cmake -DGF_COMPLETE_ROOT=...```
Configuring compiler to use:
```$ cmake -DCMAKE_CXX_COMPILER=... -DCMAKE_C_COMPILER=...```
### Testing
Launching tests:
``` ./tests/tests ```
Enabling code coverage (GCC only):
```$ cmake -DCOVERAGE=1```
### Documentation
If a `doxygen` executable has been found, the documentation can be generated:
```$ make doc```
Internal documentation can be generated if an option is given to cmake:
```$ cmake -DINTERNAL_DOC=1```