awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
reactphp avatar

reactphp/socket

0
View on GitHub↗
1,285 estrellas·158 forks·PHP·MIT·0 vistasreactphp.org/socket↗

Socket

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 Unix domain sockets, which facilitate efficient inter-process communication and compatibility with external process managers. It incorporates advanced connection management features, including automated timeout handling, concurrent connection limits, and latency-reducing optimizations like IPv6 prioritization and domain name lookup caching.

The library covers a broad range of networking capabilities, including secure encrypted communication, incremental data streaming, and non-blocking hostname resolution. These features are exposed through promise-based interfaces, allowing for the orchestration of complex network handshakes and data transfers while maintaining low memory overhead.

Features

  • Asynchronous Socket Libraries - Provides a non-blocking library for building event-driven TCP and TLS socket servers and clients using asynchronous streams in PHP.
  • Asynchronous Network Frameworks - Provides a toolkit for handling high-performance network communication and secure encrypted connections through an event-loop architecture.
  • Asynchronous Network Servers - Builds high-performance, non-blocking TCP and TLS servers that handle many concurrent client connections without stalling the main application process.
  • Event-Driven Networking - Provides a framework for managing concurrent network connections and data streams without blocking the main execution thread of an application.
  • Secure Communication Channels - Provides cryptographic handshakes on standard socket streams to establish encrypted communication channels.
  • Non-Blocking Socket I/O - Utilizes system-level non-blocking socket calls to initiate and accept connections without stalling the application execution flow.
  • Non-Blocking Event Loops - Uses a single-threaded event loop to manage multiple concurrent network connections without blocking the main execution process.
  • Event-Based Stream Processing - Manages high-throughput data exchange by processing incoming and outgoing network chunks incrementally through non-blocking, event-based interfaces.
  • Asynchronous Network Clients - Establishes non-blocking connections to remote services and APIs to exchange data streams while keeping the primary application responsive.
  • Connection and Latency Optimizers - Prioritizes IPv6 addresses and caches domain name lookups to reduce latency and improve connection reliability.
  • Connection Management - Facilitates non-blocking network connections to remote services and sockets, resolving via promises to handle data exchange operations without stalling.
  • Timeout Managements - Automatically aborts unresponsive connection attempts to prevent hanging processes and maintain system responsiveness.
  • Connection Rate Limiting - Enforces limits on the number of simultaneous client connections to protect system resources from exhaustion.
  • Network Data Streaming - Processes incoming and outgoing data chunks incrementally through event-based interfaces to maintain high throughput and low memory usage.
  • Secure Socket Wrappers - Applies transport layer security by wrapping standard network streams in cryptographic layers during the connection handshake process.
  • Duplex Stream Wrappers - Exposes network connections as readable and writable streams to process data chunks incrementally with low memory overhead.
  • Unix Domain Socket Support - Facilitates efficient inter-process communication on the same machine by connecting to or hosting services via local filesystem socket paths.
  • File Descriptor Managers - Interacts with the operating system by listening on raw file descriptors to enable integration with external process managers.
  • Promise-Based Object Resolution - Handles network operations and hostname lookups by returning objects that represent eventual completion of non-blocking tasks.

Historial de estrellas

Gráfico del historial de estrellas de reactphp/socketGráfico del historial de estrellas de reactphp/socket

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Colecciones destacadas con Socket

Colecciones seleccionadas manualmente donde aparece Socket.
  • Socket polling interfaces

Alternativas open-source a Socket

Proyectos open-source similares, clasificados según cuántas características comparten con Socket.
  • cloudwego/netpollAvatar de cloudwego

    cloudwego/netpoll

    4,583Ver en GitHub↗

    Netpoll is an event-driven network framework and non-blocking I/O library designed to manage concurrent TCP and Unix domain socket connections. It utilizes a non-blocking event loop to monitor file descriptors and trigger callbacks for read and write events, serving as a high-performance socket manager and TCP network poller. The framework optimizes throughput across CPU cores by distributing incoming network connections across multiple pollers. It implements zero-copy networking primitives, using linked buffers and specialized memory management to read and write data while minimizing memory

    Go
    Ver en GitHub↗4,583
  • walkor/workermanAvatar de walkor

    walkor/workerman

    11,547Ver en 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

    PHPasynchronousevent-drivenhigh-performance
    Ver en GitHub↗11,547
  • boostorg/beastAvatar de boostorg

    boostorg/beast

    4,801Ver en GitHub↗

    Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an asynchronous networking framework designed to compose non-blocking I/O operations and layered stream stacks for managing concurrent network traffic, specifically utilizing the Boost.Asio asynchronous model. The library provides a comprehensive implementation of the HTTP/1.1 and WebSocket protocols. For HTTP, it includes primitives for parsing and serializing messages with support for chunked transfer encoding, incremental body reading, and request pipelining. Its WebSocket implementati

    C++asioasync-programmingboost
    Ver en GitHub↗4,801
  • azure/dotnettyAvatar de Azure

    Azure/DotNetty

    4,238Ver en GitHub↗

    DotNetty is an asynchronous network framework and event-driven networking library for .NET. It is a port of the Netty architecture designed for building high-performance protocol servers and clients. The framework enables the development of network applications that handle concurrent connections and high-throughput data streaming without blocking execution threads. It supports the implementation of custom network protocols through defined encoding and decoding rules. The library utilizes a pipeline-based processing model and non-blocking I/O to manage network traffic. Its architecture incorp

    C#networkingprotocols
    Ver en GitHub↗4,238
Ver las 30 alternativas a Socket→

Preguntas frecuentes

¿Qué hace reactphp/socket?

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.

¿Cuáles son las características principales de reactphp/socket?

Las características principales de reactphp/socket son: Asynchronous Socket Libraries, Asynchronous Network Frameworks, Asynchronous Network Servers, Event-Driven Networking, Secure Communication Channels, Non-Blocking Socket I/O, Non-Blocking Event Loops, Event-Based Stream Processing.

¿Qué alternativas de código abierto existen para reactphp/socket?

Las alternativas de código abierto para reactphp/socket incluyen: cloudwego/netpoll — Netpoll is an event-driven network framework and non-blocking I/O library designed to manage concurrent TCP and Unix… walkor/workerman — Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build… boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… reactphp/reactphp — ReactPHP is an asynchronous runtime and event-driven I/O framework for PHP. It provides an environment for executing… azure/dotnetty — DotNetty is an asynchronous network framework and event-driven networking library for .NET. It is a port of the Netty… shadowsocks/shadowsocks-libev — shadowsocks-libev is an event-driven network daemon that provides an encrypted SOCKS5 proxy. It functions as a…