PHP Classes

floSocket: Implement TCP socket server scripts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-08-01 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,101 All time: 3,188 This week: 1,303Up
Version License Categories  
flosocket 1.0Free for non-comm...Networking
Description Author  

This class can be used to implement simple TCP socket server connections.

It can listen to TCP connections to a given IP address and port.

When a new connection requested or closed or new data arrives to the specified TCP port, it can invoke configurable callback functions to let the behavior of the TCP server script be customized.

The class handles connection events by polling sockets every 10 microseconds.

The class requires the PHP sockets extension to operate.

Picture of Joshua hatfield
Name: Joshua hatfield <contact>
Classes: 10 packages by
Country: United States United States
Age: 36
All time rank: 20822 in United States United States
Week rank: 188 Up19 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file echoer.php Example 3 Line Echoer Example
Plain text file floSocket.php Class floSocket Class
Accessible without login Plain text file license.doc Lic. Lisense Text
Accessible without login Plain text file simple.php Example A simple TCP example script.

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,101All time:3,188
 This week:0This week:1,303Up