PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2010-02-24 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 689 All time: 4,535 This week: 1,042Up
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  
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  /  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  
 0%
Total:689
This week:0
All time:4,535
This week:1,042Up