Login   Register  
PHP Classes

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

  Author Author  
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: 43
All time rank: 231 in Argentina Argentina
Week rank: 159 Down2 in Argentina Argentina Down
Innovation award
Innovation award
Nominee: 2x

  Detailed description   Download Download .zip .tar.gz  
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..

  Classes of Daniel Andres Marjos  >  cls Socket  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: cls Socket
Base name: clssocket
Description: Generic socket based networking servers
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3636 users
All time rank: 840
Week users: 1 user
Week rank: 1420 Down
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Networking Networking protocols, clients and servers View top rated classes

  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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (66%) Sufficient (66%) - Not sure (52%) - - Not sure (45%) 1896
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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

Download Download all files: clssocket.tar.gz clssocket.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.