{"id":34624554,"url":"https://github.com/dankmeme01/qunet-cpp","last_synced_at":"2026-05-27T10:39:03.973Z","repository":{"id":303318003,"uuid":"1005160365","full_name":"dankmeme01/qunet-cpp","owner":"dankmeme01","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-16T23:56:51.000Z","size":737,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-27T10:38:30.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dankmeme01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-06-19T19:12:40.000Z","updated_at":"2026-05-16T23:56:54.000Z","dependencies_parsed_at":"2026-01-16T20:03:49.342Z","dependency_job_id":null,"html_url":"https://github.com/dankmeme01/qunet-cpp","commit_stats":null,"previous_names":["dankmeme01/qunet-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dankmeme01/qunet-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankmeme01%2Fqunet-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankmeme01%2Fqunet-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankmeme01%2Fqunet-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankmeme01%2Fqunet-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dankmeme01","download_url":"https://codeload.github.com/dankmeme01/qunet-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dankmeme01%2Fqunet-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33562772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":[],"created_at":"2025-12-24T15:46:46.044Z","updated_at":"2026-05-27T10:39:03.968Z","avatar_url":"https://github.com/dankmeme01.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qunet\n\nAdvanced asynchronous C++ networking library, powered by [Arc](https://github.com/dankmeme01/arc) and used by [Globed](https://github.com/GlobedGD/globed2).\n\nThis library is available in Rust: [dankmeme01/qunet](https://github.com/dankmeme01/qunet)\n\n## Features\n\n* Support for four underlying transports: TCP, QUIC, Reliable UDP and WebSockets\n* UDP transport allows for choosing reliability per-message, perfect for games and other low latency cases\n* Handles UDP fragmentation at protocol level\n* Full support of IPv4 and IPv6\n* Tiny data overhead: one handshake and then just 1 byte per data message (if no extra headers are present)\n* ZSTD and LZ4 compression of messages, applied per-message\n* Extensive DNS lookups, including SRV queries\n* Smart logic for connection \u0026 reconnection, including [happy eyeballs](https://datatracker.ietf.org/doc/html/rfc6555)\n* Statistics tracking (bytes/messages sent, compression ratios, etc.)\n* Highly confgiruable, including being able to disable some features at compile time, e.g. QUIC or advanced DNS resolver.\n\nCurrently, this library does not include server functionality. For making a Qunet server that you can connect to, use the [Rust library](https://github.com/dankmeme01/qunet)\n\n## Usage\n\nThis section is incomplete as there's a ton to describe here :)\n\nSee [tester/main.cpp](./tester/main.cpp) for some example usage. Qunet is an Arc-based async library, and thus an Arc runtime is needed to create a connection. Other calls like `sendData()` are not required to be in the context of a runtime, only those that return a `Future` are.\n\n## Roadmap\n\n* WebSockets transport\n* Implement micro-batching of messages - with stream-based transports this is relatively simple, with UDP-based transports this requires a protocol update. We have 3 bits in the header byte that are unused, and we can use one of them to signify inclusion of a \"Multi Message\" extension which can carry some data such as offset and length of each individual message.\n* ???\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdankmeme01%2Fqunet-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdankmeme01%2Fqunet-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdankmeme01%2Fqunet-cpp/lists"}