This package can handle Web socket connections to establish asynchronous communications between browsers using JavaScript and PHP scripts.
There is one class that can listen to connections on a given port of an IP address. It creates child processes that will handle the Web socket communications, so if the child processes die it will not kill the main Web socket handling process.
A separate class can handle the communication between child and parent processes to process Web socket requests and return the request responses.
Applications can handle the Web socket requests by creating a sub-class of this last class. |