SocketServer PHP is a simple UDP socket server implementation in PHP. It is designed to listen on multiple ports and handle incoming packets concurrently. This server is capable of responding to client requests and processing packets efficiently.
- Listens on multiple UDP ports.
- Handles incoming packets and processes them using callbacks.
- Sends responses back to clients.
- Simple and lightweight implementation.
- PHP 7.0 or higher
- Socket functions enabled in PHP
- CLI (Command Line Interface) SAPI
-
Clone the Repository
git clone https://github.com/mendylivium/SocketServer-PHP.git cd SocketServer-PHP -
Run the Script
php server.php