Login   Register  
PHP Classes
elePHPant
Icontem

pserver: Handle TCP socket server connections

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 619 All time: 4,659 This week: 1,442Up
Version License PHP version Categories  
pserver 0.1GNU Free Documentation ...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
Age: 29
All time rank: 18396 in Chile Chile
Week rank: 1063 Up3 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.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:619All time:4,659
 This week:0This week:1,442Up