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 yet rated by the usersTotal: 1,803 All time: 2,158 This week: 258Up
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: 37
All time rank: 109122 in Spain Spain
Week rank: 487 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  
This week:0
All time:2,158
This week:258Up

For more information send a message to info at phpclasses dot org.