PHP Classes

SocketServer: Server to handle TCP requests

Recommend this page to a friend!
  Info   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 981 All time: 3,703 This week: 66Up
Version License PHP version Categories
socketserver 1.7BSD License5.0Networking, PHP 5
Collaborate with this project 

Author

Sockets - github.com

Description

This class can be used to implement a server to handle TCP requests.

It can listen to connections to a given IP and port and call given callback functions upon certain types of events.

Currently it can call handler functions for the events of established connections, disconnections, and received data from the client.

Picture of Navarr Barnier
Name: Navarr Barnier <contact>
Classes: 1 package by
Country: United States United States
Age: 32
All time rank: 2393326 in United States United States
Week rank: 312 Up38 in United States United States Up

  Files folder image Files  
File Role Description
Files folder image.github (1 directory)
Files folder imageexamples (2 files)
Files folder imagesrc (2 files, 1 directory)
Files folder imagetests (2 files)
Accessible without login Plain text file SocketServer.class.php Class Main Class
Plain text file composer.json Data Auxiliary data
Plain text file infection.json.dist Data Auxiliary data
Plain text file LICENSE Data Auxiliary data
Plain text file phpcs.xml.dist Data Auxiliary data
Plain text file phpstan.neon Data Auxiliary data
Plain text file phpunit.xml.dist Data Auxiliary data
Plain text file README.md Class Class source
Accessible without login Plain text file reverse_it.php Example Example Plain Text Server

  Files folder image Files  /  .github  
File Role Description
Files folder imageworkflows (1 file)

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Plain text file commit.yml Data Auxiliary data

  Files folder image Files  /  examples  
File Role Description
  Plain text file EchoServer.php Example Example script
  Plain text file WebServer.php Example Example script

  Files folder image Files  /  src  
File Role Description
Files folder imageException (1 file)
  Plain text file Server.php Class Class source
  Plain text file Socket.php Class Class source

  Files folder image Files  /  src  /  Exception  
File Role Description
  Plain text file SocketException.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file ServerTest.php Test Unit test script
  Plain text file SocketTest.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
 88%
Total:981
This week:0
All time:3,703
This week:66Up