PHP Classes

pserver: Handle TCP socket server connections

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


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
Age: 38
All time rank: 17916 in Chile Chile
Week rank: 275 Up1 in Chile Chile Up

  Files folder image Files  
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 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  /  html  
File Role Description
  Accessible without login Plain text file index.html Example Sample files for the Web Server

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,582
This week:560Up
 User Ratings  
 All time