Skip to content

mendylivium/SocketServer-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

SocketServer PHP

Overview

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.

Features

  • Listens on multiple UDP ports.
  • Handles incoming packets and processes them using callbacks.
  • Sends responses back to clients.
  • Simple and lightweight implementation.

Requirements

  • PHP 7.0 or higher
  • Socket functions enabled in PHP
  • CLI (Command Line Interface) SAPI

Installation

  1. Clone the Repository

    git clone https://github.com/mendylivium/SocketServer-PHP.git
    cd SocketServer-PHP
    
  2. Run the Script

php server.php

About

Simple Socket Server in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages