File: |
floSocket.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
floSocket Class |
Class: |
floSocket
Implement TCP socket server scripts |
Author: |
By Joshua hatfield |
Last change: |
Update 1.0.1: 2005-07-22 (not posted on phpclesses.org until 2005-08-07 due to technical difficulties)
New Features
Added event SOCKET_EVENT_TICKERS
* Fires event after pushing buffer per channel.
Update to floSocket($address = false, $port = "9999", $tick = 250000)
* Added $tick paramater. Specifies how long to wait between buffer checks.
Bug Fixes
Moved sleeping to inside the loop where it is actually useful.
Changes
Default tick time changed to .25 seconds from 100 miliseconds or 0 if you
count the fact that the sleeping wasn't actually in the loop.
|
Date: |
18 years ago |
Size: |
11,181 bytes |
|
|
|