PHP Classes

floSocket: Implement TCP socket server scripts

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,125 All time: 3,351 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: 46
All time rank: 20223 in United States United States
Week rank: 195 Up19 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files (4)  
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.

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,125
This week:0
All time:3,351
This week:560Up