Login   Register  
PHP Classes
elePHPant
Icontem

Socket Server: Handle requests to network 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 (7)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-12-13 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,609 This week: 2All time: 2,239 This week: 856Up
Version License PHP version Categories  
socket-server 1.0GNU General Public Lice...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
Age: 31
All time rank: 105221 in Spain Spain
Week rank: 754 Up24 in Spain Spain Down

  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,609All time:2,239
 This week:2This week:856Up