- Notifications
You must be signed in to change notification settings - Fork425
The C++ Network Library Project -- cross-platform, standards compliant networking library.
License
cpp-netlib/cpp-netlib
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Modern C++ network programming libraries.
Join us on Slack:http://slack.cpp-netlib.org/
Subscribe to the mailing list:https://groups.google.com/forum/#!forum/cpp-netlib
cpp-netlib is a collection of network related routines/implementationsgeared towards providing a robust cross-platform networking library.cpp-netlib offers the following implementations:
- Common Message Type -- A generic message type which can be usedto encapsulate and store message related information, used by allnetwork implementations as the primary means of data exchange.
- Network protocol message parsers -- A collection of parsers whichgenerate message objects from strings.
- Adapters and Wrappers -- A collection of Adapters and wrappers aimedtowards making the message type STL friendly.
- Network protocol client and server implementations -- A collectionof network protocol implementations that include embeddable clientand server types.
This library is released under the Boost Software License (please seehttp://boost.org/LICENSE_1_0.txt or the accompanying LICENSE_1_0.txt filefor the full text.
You can find official release packages of the library at:
http://github.com/cpp-netlib/cpp-netlib/downloads
To build the libraries and run the tests with CMake, you will need tohave CMake version 2.8 or higher installed appropriately in yoursystem.
$ cmake --versioncmake version 2.8.1
Inside the cpp-netlib directory, you can issue the following statements toconfigure and generate the Makefiles, and build the tests:
$ cd ~/cpp-netlib # we're assuming it's where cpp-netlib is$ cmake -DCMAKE_BUILD_TYPE=Debug \> -DCMAKE_C_COMPILER=clang \> -DCMAKE_CXX_COMPILER=clang++ \> .
Once CMake is done with generating the Makefiles and configuring the project,you can now build the tests and run them:
$ cd ~/cpp-netlib$ make$ make test
If for some reason some of the tests fail, you can send the files inTesting/Temporary/
as attachments to the cpp-netlibdevelopers mailinglist.
If you want to run the tests that come with cpp-netlib, there are a few thingsyou will need. These are:
- A compiler (GCC 4.x, Clang 2.8, MSVC 2008)
- A build tool (CMake recommended, Boost.Build also an option)
- OpenSSL headers (optional)
Note
This assumes that you have cpp-netlib at the top-level ofyour home directory.
cpp-netlib is being developed with thegit distributed SCM system.cpp-netlib is hosted onGitHub following the GitHub recommended practice offorking the repository and submitting pull requests to the source repository.You can read more about theforking process and submittingpull requests ifyou're not familiar with either process yet.
Because cpp-netlib is released under theBoost Software License it isrecommended that any file you make changes to bear your copyright noticealongside the original authors' copyright notices on the file. Typically thecopyright notices are at the top of each file in the project.
At the time of writing, there are no coding conventions being followed but ifyou write in the general style that is already existing in the project thatwould be greatly appreciated. Copious amounts of comments will be called out,but code that is not self-explanatory typically at least requires a rationaledocumentation in comments explaining "why" the code is written that way.
The main "upstream" repository is the one hosted by the original maintainer ofthe project (Dean Michael Berris) athttp://github.com/deanberris/cpp-netlib.The "official" release repository is maintained athttp://github.com/cpp-netlib/cpp-netlib -- which is a fork of the upstreamrepository. It is recommended that forks be made against the upstream repostoryand pull requests be submitted against the upstream repository so that patchesand other implementations can be curated by the original maintainer.
In case you have any questions or would like to make feature requests, you cancontact the development team through thedevelopers mailing listor by filing issues athttp://github.com/cpp-netlib/cpp-netlib/issues.
Join us on Slack:http://slack.cpp-netlib.org/
You can reach the maintainers of the project through:
Dean Michael Berris (dberris@google.com)Glyn Matthews (glyn.matthews@gmail.com)
About
The C++ Network Library Project -- cross-platform, standards compliant networking library.
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- C++55.9%
- HTML33.7%
- JavaScript5.3%
- CSS1.6%
- CMake1.6%
- Python1.3%
- Other0.6%