PHP Classes
elePHPant
Icontem

Socket Server: Handle requests to network servers

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-12-13 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,783 This week: 1All time: 2,128 This week: 1,047Up
Version License PHP version Categories
socket-server 1.0.0GNU General Publi...5.0Networking, PHP 5
Description Author

This class can be used to handle requests to network servers.

It can create a socket to listen to connections to a given IP address and port.

The class accepts connections and sends an optional welcome message to the client.

It can also register an handler function that will be called when it receives data from a client. The return value of the handler function is sent as response to the client.

Picture of Aleksey V. Zapparov
Name: Aleksey V. Zapparov <contact>
Classes: 2 packages by
Country: Spain Spain

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of usage
Plain text file SocketServer.php Class Class itself

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,783
This week:1
All time:2,128
This week:1,047Up