Innovation Award
 June 2004
Number 7 |
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 |
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..
| 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%) |
1467 |
| Month: |
Not yet rated by the users |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| File |
Role |
Description |
clsSocket.php |
Class |
Class file for client and server sockets classes |
test_daemon.php |
Example |
Sample script for sockets and daemon |