Login   Register  
PHP Classes
elePHPant
Icontem

Class: Socket handler

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Reitsma  >  Socket handler  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Socket handler
Base name: sockethandler
Description: Generic TCP/IP client using sockets
Related classes: , , , , , , ,
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 3032 users
All time rank: 980
Week users: 4 users
Week rank: 933
Picture of Tom Reitsma
Author: Tom Reitsma <e-mail contact>
Packages: 7 Browse this author's classes Browse this author's classes
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Age: 23
All time rank: 1503 in The Netherlands The Netherlands
Week rank: 453 Down11 in The Netherlands The Netherlands Down


  Detailed description  
This class can be used to implement TCP/IP clients using socket connections.

It can establish persistent and non-persistent connections to a server with a given IP address and port. The connection timeout period is configurable.

It can send and receive data from the server. The server response can be retrieved line by line or in data chunks of variable size.

The class can verify whether the connection is still valid before attempting to retrieve the server response.

 

  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

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (50.0%)
Not sure (50.0%)
-
Insufficient (37.5%)
-
-
Insufficient (33.8%)
2123
Month:
Not yet rated by the users

  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.
  Files folder image Files  
File Role Description
Plain text file socket.class.php Class Main class file
Plain text file socket.example.php Example Example usage

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