Login   Register  
PHP Classes
elePHPant
Icontem

Socket handler: Generic TCP/IP client using sockets

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-04-12 (8 years ago) RSS 2.0 feedStarStar 33%Total: 3,526 This week: 4All time: 891 This week: 307Up
Version License Categories  
sockethandler 1.0Free for non-commercial...Networking, PHP 5
Description Author  

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.

Picture of Tom Reitsma
Name: Tom Reitsma <contact>
Classes: 7 packages by
Country: The Netherlands The Netherlands
Age: 26
All time rank: 1563 in The Netherlands The Netherlands
Week rank: 184 Down7 in The Netherlands The Netherlands Down

  Files folder image Files  
File Role Description
Plain text file socket.class.php Class Main class file
Accessible without login Plain text file socket.example.php Example Example usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,526All time:891
 This week:4This week:307Up
User Ratings User Comments (1)  
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:37%StarStar
Tests:-
Videos:-
Overall:33%StarStar
Rank:2325