WebSocketServer.php:
A modified version of original idea https://github.com/sebcode/php-websocketserver/tree/master/example
Now it's an async WebSocket server
WebSocketServerExample.php
An example of async WebSocket server
Start the server either with xinetd, netcat or tcpserver
For eg: tcpserver 0.0.0.0 8080 /www/WebSocketServerExample.php
WebSocketClient.php
A modified version of original idea https://github.com/paragi/PHP-websocket-client/blob/master/websocket_client.php
Now it's an async WebSocket client
WebSocketClientExample.php
Can be use in endless loop as WebSocket client