awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

15 个仓库

Awesome GitHub RepositoriesAsynchronous Socket Libraries

Libraries providing non-blocking TCP and UDP socket implementations for specific operating systems.

Distinct from Socket Communication: The candidates are either too generic (async programming) or too narrow (UDP only); this captures the identity as a general-purpose async socket library.

Explore 15 awesome GitHub repositories matching networking & communication · Asynchronous Socket Libraries. Refine with filters or upvote what's useful.

Awesome Asynchronous Socket Libraries GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • robbiehanson/cocoaasyncsocketrobbiehanson 的头像

    robbiehanson/CocoaAsyncSocket

    12,454在 GitHub 上查看↗

    CocoaAsyncSocket is a networking library for macOS and iOS that provides core components for managing asynchronous TCP and UDP streams. It implements non-blocking network communication to maintain application responsiveness during data transfers, featuring a delegate-based system for managing connection streams and packet handling. The library includes a secure communication layer that wraps TCP sockets to apply encryption standards, protecting client and server traffic from unauthorized interception. Its capabilities cover non-blocking connection management for both stream-based TCP and pac

    Provides a core networking library for macOS and iOS that handles asynchronous TCP and UDP communications.

    Objective-C
    在 GitHub 上查看↗12,454
  • walkor/workermanwalkor 的头像

    walkor/workerman

    11,547在 GitHub 上查看↗

    Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build high-concurrency network servers, including an asynchronous TCP framework, a coroutine library for task management, and dedicated implementations for HTTP and WebSocket servers. The project enables the development of specialized network services using custom frame-based communication protocols. It supports both inbound concurrent server implementation and asynchronous outbound connectivity to remote services. The framework covers a broad range of network programming capabili

    An event-driven framework providing non-blocking TCP and UDP socket implementations for building high-concurrency servers in PHP.

    PHPasynchronousevent-drivenhigh-performance
    在 GitHub 上查看↗11,547
  • panjf2000/gnetpanjf2000 的头像

    panjf2000/gnet

    11,186在 GitHub 上查看↗

    gnet 是一个高性能的 Go 事件驱动网络框架,专为构建可扩展的 TCP、UDP 和 Unix Socket 服务器而设计。它充当非阻塞 Socket 管理器和多 Reactor 网络引擎,能够以极低的内存开销处理数千个并发连接。 该框架的独特之处在于采用了多 Reactor 架构,将 I/O 分布在绑定到操作系统线程的多个事件循环上,从而最大限度地减少上下文切换。它利用边缘触发(edge-triggered)轮询来降低系统调用频率,并使用弹性环形缓冲区(elastic ring-buffers)来最小化内存分配成本和垃圾回收压力。 该库涵盖了广泛的网络功能,包括跨 CPU 核心的负载均衡连接分配、通过工作池(worker pools)执行异步任务,以及用于连接生命周期管理的结构化系统。它还提供了用于实现自定义二进制协议和管理底层 Socket 选项的原语。

    Functions as a non-blocking socket manager capable of handling thousands of simultaneous connections with low overhead.

    Go
    在 GitHub 上查看↗11,186
  • reactphp/reactphpreactphp 的头像

    reactphp/reactphp

    9,091在 GitHub 上查看↗

    ReactPHP is an asynchronous runtime and event-driven I/O framework for PHP. It provides an environment for executing concurrent tasks through a central event loop implementation and reactor pattern, allowing applications to handle multiple operations without pausing the main execution thread. The project includes a specialized asynchronous socket library for TCP, UDP, and TLS communication, alongside a non-blocking HTTP server and client for streaming web requests and responses. Its capability surface covers asynchronous control flow via promises and fibers, non-blocking network connectivity

    Provides a specialized toolset for non-blocking TCP, UDP, and TLS network connections.

    PHP
    在 GitHub 上查看↗9,091
  • apple/swift-nioapple 的头像

    apple/swift-nio

    8,477在 GitHub 上查看↗

    Swift NIO is a low-level, event-driven network framework for the Swift language. It serves as an asynchronous network protocol stack and I/O library designed to build high-performance network servers and clients that handle thousands of simultaneous connections. The framework functions as a high-concurrency network engine that dispatches events across multiple CPU cores. It enables the implementation of custom network protocols by processing raw bytes through a sequence of reusable data transformation handlers. The system provides capabilities for non-blocking I/O multiplexing, asynchronous

    Enables the construction of event-driven servers and clients capable of high-concurrency input and output.

    Swiftasynchronous-ioevent-drivenhigh-performance
    在 GitHub 上查看↗8,477
  • koush/androidasynckoush 的头像

    koush/AndroidAsync

    7,540在 GitHub 上查看↗

    AndroidAsync is a non-blocking networking library for Android that provides asynchronous sockets, HTTP clients, and servers based on Java NIO. It serves as a toolkit for managing raw TCP socket connections and bidirectional data streams using an asynchronous input and output architecture. The library includes a dedicated WebSocket framework for establishing persistent full-duplex communication channels between Android clients and servers. It also enables the hosting of a lightweight asynchronous HTTP server directly on an Android device to handle incoming network traffic. Its broader capabil

    Ships as a low-level tool for managing raw TCP socket connections using an asynchronous I/O architecture.

    Java
    在 GitHub 上查看↗7,540
  • antirez/smallchatantirez 的头像

    antirez/smallchat

    7,509在 GitHub 上查看↗

    Smallchat is a minimal implementation of a concurrent network server and TCP-based chat system designed as a demonstration of C socket programming. It provides a basic server and client architecture that enables real-time text communication between multiple connected users. The project focuses on the implementation of a networked chat server that handles simultaneous client sessions. It utilizes a centralized broadcasting model to route incoming text from one client to all other active participants. The system manages concurrent client connections and session tracking using socket descriptor

    Provides a minimal implementation of a networked TCP chat server and client.

    C
    在 GitHub 上查看↗7,509
  • dotnet/mqttnetdotnet 的头像

    dotnet/MQTTnet

    4,949在 GitHub 上查看↗

    MQTTnet is a comprehensive MQTT library for .NET that supports both client and broker roles in a single codebase. It provides a full-featured broker implementation capable of hosting a server with access control, message interception, session persistence, and support for mixed MQTT protocol versions. The client side offers robust publish-subscribe communication with automatic reconnection that preserves quality-of-service guarantees, ensuring reliable message delivery across network interruptions. The library distinguishes itself with a plugin-based authentication pipeline for validating clie

    Manages network I/O with non-blocking sockets to handle thousands of concurrent connections without blocking threads.

    C#anycpubrokercommunication
    在 GitHub 上查看↗4,949
  • cloudwego/netpollcloudwego 的头像

    cloudwego/netpoll

    4,583在 GitHub 上查看↗

    Netpoll 是一个事件驱动的网络框架和非阻塞 I/O 库,旨在管理并发 TCP 和 Unix 域套接字连接。它利用非阻塞事件循环来监控文件描述符并触发读写事件的回调,作为高性能套接字管理器和 TCP 网络轮询器运行。 该框架通过在多个轮询器之间分配传入的网络连接来优化跨 CPU 核心的吞吐量。它实现了零拷贝网络原语,使用链式缓冲区和专用内存管理来读写数据,同时最大限度地减少内存分配和数据重复。 该库提供了一套全面的连接生命周期管理功能,包括出站拨号、Keepalive 配置和基于截止时间的超时控制。它通过连接对象缓存、向量化 I/O 操作和负载均衡策略进一步优化性能,以在事件循环之间分配流量。 该项目包括用于管理服务器部署的实用程序,例如通过分离监听器并等待活动连接完成来实现优雅关闭的机制。

    Implements TCP servers that use asynchronous I/O to handle many concurrent connections without blocking threads.

    Go
    在 GitHub 上查看↗4,583
  • janet-lang/janetjanet-lang 的头像

    janet-lang/janet

    4,308在 GitHub 上查看↗

    Janet is a Lisp-based dynamic programming language featuring a register-based bytecode virtual machine and an embeddable scripting engine. It functions as a fiber-based concurrency runtime and includes a parsing engine based on Parsing Expression Grammars. The project is distinguished by its ability to be integrated into C or C++ applications via a minimal header interface. It utilizes a Lisp-style macro system for compile-time code transformation and employs prototype-based table inheritance for object-oriented behavior. The runtime covers a broad set of capabilities, including asynchronous

    Implements non-blocking TCP sockets to create reliable byte streams between clients and servers.

    Ccfunctional-languageimperative-language
    在 GitHub 上查看↗4,308
  • dabeaz/curiodabeaz 的头像

    dabeaz/curio

    4,126在 GitHub 上查看↗

    Curio 是一个用于结构化并发和异步网络编程的 Python 库。它作为一个框架,利用非阻塞 Socket 和高吞吐量 I/O 来处理数千个并发 TCP 连接。 该库将异步操作组织成父子协程的层级结构,以确保依赖任务的可靠终止和清理。它提供了一套通过任务组和超时来协调这些并发操作的工具包。 该框架涵盖了广泛的并发管理功能,包括通过队列进行任务间通信,以及使用锁和信号量进行共享资源同步。它还支持执行外部进程,并将阻塞工作卸载到单独的线程,以保持事件循环的响应能力。

    Provides non-blocking socket operations for high-concurrency network communication.

    Python
    在 GitHub 上查看↗4,126
  • sfackler/rust-postgressfackler 的头像

    sfackler/rust-postgres

    3,945在 GitHub 上查看↗

    该项目是 Rust 编程语言的原生 PostgreSQL 数据库驱动程序。它作为一个类型安全的数据库映射器和连接器,提供同步和异步接口,用于针对 PostgreSQL 后端执行查询。 该库实现了一个类型安全映射系统,将 PostgreSQL 数据类型转换为 Rust 类型,确保数据传输过程中的一致性。它还充当加密数据库连接器,支持安全通信协议,以保护应用程序和数据库之间传输的数据。 该驱动程序涵盖了核心数据库功能,包括执行数据操作和管理安全数据库连接。

    Offers both synchronous and asynchronous interfaces for executing queries against PostgreSQL.

    Rust
    在 GitHub 上查看↗3,945
  • lewissbaker/cppcorolewissbaker 的头像

    lewissbaker/cppcoro

    3,818在 GitHub 上查看↗

    cppcoro is a C++ coroutine library and concurrency toolkit providing primitives for asynchronous tasks, lazy generators, and non-blocking execution. It functions as an asynchronous I/O framework for managing network sockets and file operations through an event loop. The library features a work-stealing thread pool for distributing tasks across multiple cores and a set of async generators for producing lazy sequences of values both synchronously and asynchronously. It includes a concurrency toolkit with async mutexes, latches, and shared tasks to coordinate multi-threaded execution. Its capab

    Provides asynchronous TCP and UDP socket implementations for non-blocking network communication.

    C++asyncasync-awaitasynchronous-programming
    在 GitHub 上查看↗3,818
  • undertow-io/undertowundertow-io 的头像

    undertow-io/undertow

    3,748在 GitHub 上查看↗

    Undertow is a Java HTTP web server and non-blocking I/O server implementation. It functions as a Jakarta Servlet container and a WebSocket server, providing the infrastructure to execute standardized servlet components and maintain persistent full-duplex communication channels for real-time data exchange. The project is characterized by an asynchronous architecture that utilizes a non-blocking I/O model to handle large numbers of concurrent connections. It incorporates buffer-pooling mechanisms and zero-copy data transfers to reduce memory allocation and garbage collection pressure. The syst

    Implements a server-side non-blocking model to handle thousands of concurrent connections without tying up system threads.

    Javaajphacktoberfesthttp
    在 GitHub 上查看↗3,748
  • reactphp/socketreactphp 的头像

    reactphp/socket

    1,285在 GitHub 上查看↗

    This library provides a framework for building event-driven, non-blocking network applications in PHP. It enables the development of asynchronous TCP and TLS servers and clients that manage multiple concurrent connections without stalling the main execution thread. By utilizing an event-loop architecture, the library handles network operations and data exchange through asynchronous streams, ensuring that the application remains responsive during high-throughput tasks. The project distinguishes itself through its integration with operating system primitives, such as raw file descriptors and Un

    Provides a non-blocking library for building event-driven TCP and TLS socket servers and clients using asynchronous streams in PHP.

    PHPphpreactphpserver-socket
    在 GitHub 上查看↗1,285
  1. Home
  2. Networking & Communication
  3. Asynchronous Socket Libraries

探索子标签

  • Non-Blocking TCP Servers4 个子标签TCP server implementations that use asynchronous I/O to handle many concurrent connections without blocking threads. **Distinct from Asynchronous Socket Libraries:** Distinct from Asynchronous Socket Libraries: focuses on the server-side non-blocking model for handling thousands of connections, not general-purpose async socket libraries.