PHP Classes

pserver: Handle TCP socket server connections

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 725 All time: 4,583 This week: 560Up
Version License PHP version Categories
pserver 0.1GNU Free Document...4.4Networking
Description 

Author

This class can be used to handle TCP socket server connections.

It can listen to connection requests to a given IP address and port.

The class handles connection events like connection requests, reading the request data and send the response data, by calling functions of the class for custom processing.

Sub-classes may extend the class to implement special handling of connection events for different types of server applications. Several examples are provided to demonstrate this ability.

Picture of Pedro Vargas
Name: Pedro Vargas <contact>
Classes: 2 packages by
Country: Chile Chile

  Files folder image Files (7)  
File Role Description
Files folder imagehtml (1 file)
Plain text file pserver.class.php Class Class Pserver
Accessible without login Plain text file example.base64.php Example Example of an echo server base64
Accessible without login Plain text file example.chat.php Example Chat Example with pserver
Accessible without login Plain text file example.md5online.php Example MD5 Online example pserver
Accessible without login Plain text file example.pshell.php Example PShell a Example de Shell Remote
Accessible without login Plain text file example.webserver.php Example Example of a simple implementation of a Web Server with pserver

  Files folder image Files (7)  /  html  
File Role Description
  Accessible without login Plain text file index.html Example Sample files for the Web Server

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:725
This week:0
All time:4,583
This week:560Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1664