PHP Classes
elePHPant
Icontem

SocketServer: Server to handle TCP requests

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-05-27 (3 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 803 All time: 4,088 This week: 961Up
Version License PHP version Categories
socketserver 1.1BSD 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: 25
All time rank: 2492308 in United States United States
Week rank: 1384 Up154 in United States United States Up

  Files folder image Files  
File Role Description
Files folder imageexamples (2 files)
Files folder imagesrc (2 files, 1 directory)
Files folder imagetests (3 files)
Accessible without login Plain text file SocketServer.class.php Class Main Class
Plain text file composer.json Data Auxiliary data
Plain text file LICENSE Data Auxiliary data
Plain text file phpunit.xml 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  /  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 bootstrap.php Aux. Auxiliary script
  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  
 85%
Total:803
This week:0
All time:4,088
This week:961Up