Skip to content
/ siphon Public
generated from shvass/cmake-template

quick setup Networking library with routing table management

License

Notifications You must be signed in to change notification settings

shvass/siphon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Siphon

Siphon is a networking library for quick networking setup. Currently siphon supports

  • TCP / UDP protocols
  • IPV4 / IPV6 addressing
  • Linux platform
  • Windows (Winsock2)

siphon is currently under development. With following Upcoming features

  • OS routing table management
  • Mac support

How to buid the library?

Siphon uses cmake as a buildTool. Following packages are required preinstalled on your system.

  • cmake
  • make

using cmake

In the root source directory, run the following commands to build the library

mkdir build  
cd build 
cmake .. 
make -j4 

a static library named siphon will be generated.

How to Integrate with cmake project?

  • add siphon as a subdirectory in your project source
  git submodule add http://github.com/akbnsd/siphon.git ./siphon 
  • add siphon as a cmake subdirectory in your root CMakeLists.txt
 add_subdirectory(siphon) 

link siphon with your main executable

 target_link_libraries(... ...  siphon) 

About

quick setup Networking library with routing table management

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published