{"id":32617726,"url":"https://github.com/cfnptr/nets","last_synced_at":"2025-10-30T17:05:29.797Z","repository":{"id":40388965,"uuid":"315606592","full_name":"cfnptr/nets","owner":"cfnptr","description":"Secure multi-platform networking library with implemented TCP / UDP server and client","archived":false,"fork":false,"pushed_at":"2025-10-17T14:46:42.000Z","size":680,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-18T00:03:37.452Z","etag":null,"topics":["c","client","cpp","cross-platform","http","https","library","network","networking","openssl","server","socket","ssl","tcp","tcp-client","tcp-server","tls","udp","udp-client","udp-server"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfnptr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-24T11:09:53.000Z","updated_at":"2025-10-17T14:46:46.000Z","dependencies_parsed_at":"2024-03-09T19:27:30.927Z","dependency_job_id":"a4fe4e44-020a-4c3d-90ed-e178a205b3e5","html_url":"https://github.com/cfnptr/nets","commit_stats":null,"previous_names":["cfnptr/nets","cfnptr/mpnw"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/cfnptr/nets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fnets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fnets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fnets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fnets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfnptr","download_url":"https://codeload.github.com/cfnptr/nets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fnets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281844755,"owners_count":26571538,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","client","cpp","cross-platform","http","https","library","network","networking","openssl","server","socket","ssl","tcp","tcp-client","tcp-server","tls","udp","udp-client","udp-server"],"created_at":"2025-10-30T17:05:27.974Z","updated_at":"2025-10-30T17:05:29.790Z","avatar_url":"https://github.com/cfnptr.png","language":"C","readme":"# Nets\n\nA library providing generic interface for transferring data over a **network** across different platforms.\n\n## Features\n\n* Blocking / non-blocking socket\n* Stream client / server (TCP)\n* Datagram client / server (UDP)\n* Secure socket layer (SSL, TLS)\n* Datagrams over TCP stream\n* C and C++ implementations\n\n## Supported operating systems\n\n* Windows (10/11)\n* Ubuntu (22.04/24.04)\n* macOS (14/15)\n\nThis list includes only those systems on which functionality testing is conducted.\nHowever, you can also compile it under any other Linux distribution or operating system.\n\n## Build requirements\n\n* C99 compiler\n* C++17 compiler (optional)\n* [Git 2.30+](https://git-scm.com/)\n* [CMake 3.22+](https://cmake.org/)\n* [vcpkg](https://learn.microsoft.com/en-us/vcpkg/) (Windows only)\n* [brew](https://brew.sh/) (macOS only)\n\nUse building [instructions](BUILDING.md) to install all required tools and libraries.\n\n### CMake options\n\n| Name                      | Description                          | Default value |\n|---------------------------|--------------------------------------|---------------|\n| NETS_BUILD_EXAMPLES       | Build Nets usage examples            | `ON`          |\n| NETS_USE_OPENSSL          | Use OpenSSL for secure communication | `ON`          |\n| NETS_ALLOW_DEPRECATED_SSL | Allow deprecated OpenSSL functions   | `OFF`         |\n\n## Cloning\n\n```\ngit clone --recursive https://github.com/cfnptr/nets\n```\n\n## Building ![CI](https://github.com/cfnptr/nets/actions/workflows/cmake.yml/badge.svg)\n\n* Windows: ```./scripts/build-release.bat```\n* macOS / Ubuntu: ```./scripts/build-release.sh```\n\n## Third-party\n\n* [cURL](https://github.com/curl/curl) (curl License)\n* [mpmt](https://github.com/cfnptr/mpmt/) (Apache-2.0 License)\n* [mpio](https://github.com/cfnptr/mpio/) (Apache-2.0 License)\n* [OpenSSL](https://github.com/openssl/openssl/) (Apache-2.0 License)\n* [zlib](https://github.com/madler/zlib) (zlib License)\n\n### Inspired by\n\n* [asio](https://github.com/boostorg/asio/)\n* [libuv](https://github.com/libuv/libuv/)\n\n### Special thanks to Gigaflops.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfnptr%2Fnets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfnptr%2Fnets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfnptr%2Fnets/lists"}