PHP Classes
elePHPant
Icontem

cls Socket: Generic socket based networking servers

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-06-02 (13 years ago) RSS 2.0 feedStarStarStar 45%Total: 3,680 All time: 878 This week: 692Up
Version License Categories
clssocket 1.0GNU General Publi...Networking
Description Author

This package is meant to provide a means to build generic socket based networking servers.

Actually it is made of two classes: one for generic socket connection servers and one specialized in handling TCP socket connections.

The class lets developers specify callback functions that are invoked when the different socket server events happen like when a connection requested, a connection is accepted, a connection is closed, etc..

Innovation Award
PHP Programming Innovation award nominee
June 2004
Number 7


Prize: One copy of the PHP Anthology book set
Usually PHP is used to serve pages using a Web server. However, there are other types of networking applications on which PHP could also be used but the integration with a Web server is not convenient nor necessary.

Non Web server based PHP applications of interest include chat servers, mailing list processors and other types of networked application servers.

This class provides a means to simplify the construction of socket based networking servers using the PHP sockets extension.

It provides a way that lets any developer customize only the handling of events that interest their applications by the means of custom callback functions.

Manuel Lemos
  Performance   Level  
Name: Daniel Andres Marjos <contact>
Classes: 13 packages by
Country: Argentina Argentina
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file clsSocket.php Class Class file for client and server sockets classes
Accessible without login Plain text file test_daemon.php Example Sample script for sockets and daemon

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,680
This week:0
All time:878
This week:692Up
User Ratings User Comments (1)
 All time
Utility:67%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:52%StarStarStar
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:2600