<?php
require '/usr/local/src/php/vendor/autoload.php';
require '/usr/local/apache2/htdocs/liv_asp/socket/socket.php';

use Ratchet\Server\IoServer;
use Ratchet\Http\HttpServer;
use Ratchet\WebSocket\WsServer;
use MyApp\Chat;

$server = IoServer::factory ( new HttpServer( new WsServer( new Chat () ) ), 8888 );
$server->run ();
?>
