{"id":13591094,"url":"https://github.com/cpp-netlib/cpp-netlib","last_synced_at":"2026-01-10T04:56:59.245Z","repository":{"id":795364,"uuid":"494068","full_name":"cpp-netlib/cpp-netlib","owner":"cpp-netlib","description":"The C++ Network Library Project -- cross-platform, standards compliant networking library.","archived":false,"fork":true,"pushed_at":"2023-09-07T12:06:56.000Z","size":9255,"stargazers_count":1995,"open_issues_count":169,"forks_count":425,"subscribers_count":146,"default_branch":"main","last_synced_at":"2024-10-01T20:43:12.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://cpp-netlib.org/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"glynos/cpp-netlib","license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpp-netlib.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE_1_0.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-01-29T19:31:39.000Z","updated_at":"2024-09-27T10:40:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cpp-netlib/cpp-netlib","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-netlib%2Fcpp-netlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-netlib%2Fcpp-netlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-netlib%2Fcpp-netlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-netlib%2Fcpp-netlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpp-netlib","download_url":"https://codeload.github.com/cpp-netlib/cpp-netlib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235633947,"owners_count":19021455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:00:53.562Z","updated_at":"2025-10-07T13:30:16.677Z","avatar_url":"https://github.com/cpp-netlib.png","language":"C++","funding_links":[],"categories":["C++","Programming Languages"],"sub_categories":["C++"],"readme":"C++ Network Library\n===================\n\nModern C++ network programming libraries.\n\n.. image:: https://travis-ci.org/cpp-netlib/cpp-netlib.svg?branch=master\n    :target: https://travis-ci.org/cpp-netlib/cpp-netlib\n\n.. image:: https://scan.coverity.com/projects/6714/badge.svg\n    :target: https://scan.coverity.com/projects/cpp-netlib\n\n.. image:: https://img.shields.io/badge/license-boost-blue.svg\n    :target: https://github.com/cpp-netlib/cpp-netlib/blob/master/LICENSE_1_0.txt\n\nJoin us on Slack: http://slack.cpp-netlib.org/\n\nSubscribe to the mailing list: https://groups.google.com/forum/#!forum/cpp-netlib\n\nDownloading cpp-netlib\n----------------------\n\nYou can find official release packages of the library at::\n\n    http://github.com/cpp-netlib/cpp-netlib/downloads\n\nIf you want the latest code from the master branch of the project, you can\nfollow these instructions for cloning the project repository::\n\n    $ git clone https://github.com/cpp-netlib/cpp-netlib\n    $ cd cpp-netlib\n    $ git submodule init\n    $ git submodule update\n\nIntroduction\n------------\n\ncpp-netlib is a collection of network-related routines/implementations\ngeared towards providing a robust cross-platform networking library.\ncpp-netlib offers the following implementations:\n\n  *  Common Message Type -- A generic message type which can be used\n     to encapsulate and store message-related information, used by all\n     network implementations as the primary means of data exchange.\n  *  Network protocol message parsers -- A collection of parsers which\n     generate message objects from strings.\n  *  Adapters and Wrappers -- A collection of Adapters and wrappers aimed\n     towards making the message type STL friendly.\n  *  Network protocol client and server implementations -- A collection\n     of network protocol implementations that include embeddable client\n     and server types.\n\nThis library is released under the Boost Software License (please see\nhttp://boost.org/LICENSE_1_0.txt or the accompanying LICENSE_1_0.txt file\nfor the full text.\n\nBuilding and Installing\n-----------------------\n\nTo build the libraries you will need to have CMake version 2.8 or higher\ninstalled appropriately in your system.\n\n::\n\n    $ cmake --version\n    cmake version 2.8.1\n\nIt is recommended that you build cpp-netlib outside of the source directory, to\navoid having issues with CMake generated files polluting the source directory::\n\n    $ mkdir ~/cpp-netlib-build\n    $ cd ~/cpp-netlib-build\n    $ cmake -DCMAKE_BUILD_TYPE=Debug     \\\n    \u003e       -DCMAKE_C_COMPILER=clang     \\\n    \u003e       -DCMAKE_CXX_COMPILER=clang++ \\\n    \u003e       $HOME/cpp-netlib    # we're assuming this is where cpp-netlib is.\n\nOnce CMake is done with generating the Makefiles and configuring the project,\nyou can now build the tests and run them::\n\n    $ cd ~/cpp-netlib-build\n    $ make\n    $ make test\n\nYou can also download and install cpp-netlib using the ` vcpkg`_ dependency manager:\n    \n    $ git clone https://github.com/Microsoft/vcpkg.git\n    $ cd vcpkg\n    $ ./bootstrap-vcpkg.sh\n    $ ./vcpkg integrate install\n    $ vcpkg install cpp-netlib\n    \nThe cpp-netlib port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the ` vcpkg`_ repository.\n\n.. _`vcpkg`: https://github.com/Microsoft/vcpkg\n\n\nIf for some reason some of the tests fail, you can send the files in\n``Testing/Temporary/`` as attachments to the cpp-netlib `developers mailing\nlist`_.\n\n.. _`developers mailing list`: cpp-netlib@googlegroups.com\n\nRunning Tests\n-------------\n\nIf you want to run the tests that come with cpp-netlib, there are a few things\nyou will need. These are:\n\n  * A compiler (GCC 4.x, Clang 3.6, MSVC 2008)\n  * A build tool (CMake_ is required)\n  * OpenSSL headers (optional)\n\n.. note:: This assumes that you have cpp-netlib at the top-level of\n          your home directory.\n.. _CMake: https://cmake.org/\n\nHacking on cpp-netlib\n---------------------\n\ncpp-netlib uses git_ for tracking work and is hosted on GitHub_. \ncpp-netlib is hosted on GitHub_ following the GitHub recommended practice of\nforking the repository and submitting pull requests to the source repository.\nYou can read more about the forking_ process and submitting `pull requests`_ if\nyou're not familiar with either process yet. cpp-netib follows the GitHub pull\nrequest model for accepting patches. You can read more about the process at\nhttp://cpp-netlib.org/process.html#pull-requests. \n\n.. _git: http://git-scm.com/\n.. _GitHub: http://github.com/\n.. _forking: http://help.github.com/forking/\n.. _`pull requests`: http://help.github.com/pull-requests/\n\nBecause cpp-netlib is released under the `Boost Software License`_ it is\nrecommended that any file you make changes to bear your copyright notice\nalongside the original authors' copyright notices on the file. Typically the\ncopyright notices are at the top of each file in the project.\n\n.. _`Boost Software License`: http://www.boost.org/LICENSE_1_0.txt\n\nYou can read about the cpp-netlib style guide at\nhttp://cpp-netlib.org/style-guide.html.\n\nThe main \"upstream\" repository is at http://github.com/cpp-netlib/cpp-netlib.\n\nContact and Support\n-------------------\n\nIn case you have any questions or would like to make feature requests, you can\ncontact the development team through the `developers mailing list`_\nor by filing issues at http://github.com/cpp-netlib/cpp-netlib/issues.\n\nJoin us on Slack: http://slack.cpp-netlib.org/\n\n.. _`developers mailing list`: cpp-netlib@googlegroups.com\n\nYou can reach the maintainers of the project through::\n\n    Dean Michael Berris (dberris@google.com)\n\n    Glyn Matthews (glyn.matthews@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-netlib%2Fcpp-netlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpp-netlib%2Fcpp-netlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-netlib%2Fcpp-netlib/lists"}