{"id":13576156,"url":"https://github.com/uNetworking/uSockets","last_synced_at":"2025-04-05T05:30:57.932Z","repository":{"id":37617183,"uuid":"88219241","full_name":"uNetworking/uSockets","owner":"uNetworking","description":"Miniscule cross-platform eventing, networking \u0026 crypto for async applications","archived":false,"fork":false,"pushed_at":"2024-12-27T04:56:45.000Z","size":842,"stargazers_count":1291,"open_issues_count":36,"forks_count":269,"subscribers_count":57,"default_branch":"master","last_synced_at":"2024-12-27T05:24:02.173Z","etag":null,"topics":["async","cross-platform","miniscule","ssl","tcp"],"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/uNetworking.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}},"created_at":"2017-04-14T01:04:49.000Z","updated_at":"2024-12-27T04:56:48.000Z","dependencies_parsed_at":"2023-10-14T23:54:27.994Z","dependency_job_id":"16b6fe3b-a10a-4f7b-8451-0413463b78dc","html_url":"https://github.com/uNetworking/uSockets","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2FuSockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2FuSockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2FuSockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNetworking%2FuSockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uNetworking","download_url":"https://codeload.github.com/uNetworking/uSockets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294138,"owners_count":20915331,"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":["async","cross-platform","miniscule","ssl","tcp"],"created_at":"2024-08-01T15:01:07.491Z","updated_at":"2025-04-05T05:30:52.918Z","avatar_url":"https://github.com/uNetworking.png","language":"C","readme":"# Optimized TCP, TLS, QUIC \u0026 HTTP3 transports\n\nµSockets is the non-blocking, thread-per-CPU foundation library used by [µWebSockets](https://github.com/uNetworking/uWebSockets). It provides optimized networking - using the same opaque API (programming interface) across all supported transports, event-loops and platforms (QUIC is work-in-progress, so is io_uring).\n\n\u003ca href=\"https://github.com/uNetworking/uSockets/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/uNetworking/uSockets\"\u003e\u003c/a\u003e\n\n## Write code once\nBased on µSockets, apps like µWebSockets can run on many platforms, over many transports and with many event-loops - all without any code changes or special execution paths. Moving data over TCP is just as easy as over QUIC.\n\nHit `make examples` to get started.\n\n## Lightweight or featureful\nIn its minimal, TCP-only, configuration µSockets has no dependencies other than the very OS kernel and compiles down to a tiny binary. In its full configuration it depends on BoringSSL, lsquic and potentially some event-loop library.\n\nHere are some configurations; WITH_IO_URING, WITH_LIBUV, WITH_ASIO, WITH_GCD, WITH_ASAN, WITH_QUIC, WITH_BORINGSSL, WITH_OPENSSL, WITH_WOLFSSL.\n\n## Fast \u0026 stable\nµWebSockets itself is known to have run with outstanding performance and stability since 2016. This thanks to, among other factors, the speed and stability of µSockets. We fuzz and randomly \"hammer test\" the library as part of security \u0026 stability testing done in the µWebSockets project.\n","funding_links":[],"categories":["C","Service Toolkits","库和框架"],"sub_categories":["C"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FuNetworking%2FuSockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FuNetworking%2FuSockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FuNetworking%2FuSockets/lists"}