Login   Register  
PHP Classes
elePHPant
Icontem

cls Socket

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Daniel Andres Marjos
Name: Daniel Andres Marjos is available for providing paid consulting. Contact Daniel Andres Marjos .
Packages: 12 Browse all classes by Daniel Andres Marjos Browse all classes by
Country: Argentina Argentina - PHP jobs in Argentina
Age: 42
All time rank: 231 in Argentina Argentina
Week rank: 356 Down3 in Argentina Argentina Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description   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 .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: 3601 users
All time rank: 802
Week users: 2 users
Week rank: 1368 Down
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
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  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (66.7%)
Sufficient (66.7%)
-
Not sure (52.8%)
-
-
Not sure (45.3%)
1815
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
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 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.