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

  Author Author  
Picture of Aleksey V. Zapparov
Name: Aleksey V. Zapparov <e-mail contact>
Packages: 2 Browse all classes by Aleksey V. Zapparov Browse all classes by
Country: Spain Spain - PHP jobs in Spain
Age: 31
All time rank: 106421 in Spain Spain
Week rank: 993 Up23 in Spain Spain Down


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Aleksey V. Zapparov  >  Socket Server  >  Download Download .zip .tar.gz  >  Support forum Support forum (7)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Socket Server
Base name: socket-server
Description: Handle requests to network servers
Version: -
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 1533 users
All time rank: 2329
Week users: 2 users
Week rank: 1193 Up
 
  Groups   Rate classes User ratings   Trackback  
  Applications   Related links   Files Files  

  Groups  
Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  User ratings  
Not yet rated by the users

  Trackback links  
Link Description
From simple socket reader to server in PHP After I have pub­lished Sock­et­Server on PHPClasses.org, I received com­ments about some ugly places and ideas of improve­ment...
Updated simple #socket #server in #php and pushed it to the #phpclasses.org: -

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
GIT Repo Public repo of class at github.com
Blog's entry Step by step explanation of example (outdated)

  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

Download Download all files: socket-server.tar.gz socket-server.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.