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    
Last Updated Ratings Unique User Downloads Download Rankings
2022-10-21 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 976 All time: 3,707 This week: 106Up
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

  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:976
This week:0
All time:3,707
This week:106Up