PHP Classes

floSocket: Implement TCP socket server scripts

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,125 All time: 3,350 This week: 560Up
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: 45
All time rank: 20223 in United States United States
Week rank: 321 Down31 in United States United States Down
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,125
This week:0
All time:3,350
This week:560Up