PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,832 This week: 1All time: 2,149 This week: 560Up
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
Age: 41
All time rank: 110022 in Spain Spain
Week rank: 411 Up13 in Spain Spain Up

  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,832
This week:1
All time:2,149
This week:560Up