Login   Register  
PHP Classes
elePHPant
Icontem

cls Socket: Generic socket based networking servers

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-06-02 (10 years ago) RSS 2.0 feedStarStarStar 45%Total: 3,652 All time: 841 This week: 1,387Down
Version License Categories  
clssocket 1.0GNU General Public Lice...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
Picture of Daniel Andres Marjos
Name: Daniel Andres Marjos is available for providing paid consulting. Contact Daniel Andres Marjos .
Classes: 13 packages by
Country: Argentina Argentina
Age: 44
All time rank: 231 in Argentina Argentina
Week rank: 255 Down1 in Argentina Argentina Equal
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,652All time:841
 This week:0This week:1,387Down
User Ratings User Comments (1)  
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:52%StarStarStar
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:1925