Skip to content

fengjixuchui/ProtocolLearn

 
 

Repository files navigation

ProtocolLearn

ProtocolLearn's Logo

Overview

ProtocolLearn is a C++ Network library for linux that pointed in Low level networking. ProtocolLearn is also providing an API for creating of new protocols.

Get ProtocolLearn:

Note: ProtocolLearn uses Git Submodules, therefore, the regular 'git clone [url]' command will download only the base repository without the submodules.

To download ProtocolLearn, run the following lines:

git clone --recursive git@gitlab.com:ProtocolLearn/ProtocolLearn.git

Getting Started

You can see the Getting Started article in the wiki. If you want to see examples of the using of ProtocolLearn, you can open the Examples repository. If you interesting in a specific type of ProtocolLearn, please visit ProtocolLearn's Wiki.

ProtocolLearn Parts:

ProtoclLearn has three general parts:

  • Utilities: Contains the core of ProtocolLearn: Types, Addresses (eg. Ipv4Address), helpers (StringFunctions, VectorFunctions, ByteOrder) and more.
  • Protocols: Contains implomented protocols (eg. Ethernet and Ipv4).
  • Examples and Libraries: In "Examples", there are examples for the usage of ProtocolLearn's implomented protocols. "Libraries" contains examples too, but with an option to add the example into your project.

Build

First of all, you must have Linux machine, CMake, and GCC.

Open ProtocolLearn directory and run the build script:

$ cd ~/ProtocolLearn
$ ./Build/Build.sh

It will take a few minutes. Your executable files will be in the build directory.

About

Pet project: TCP/IP stack on userspace with C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.0%
  • CMake 3.4%
  • Python 1.5%
  • Shell 0.1%