mxmbsocket/lib/Ratchet/Server.php
2011-09-05 08:53:21 -04:00

18 lines
394 B
PHP

<?php
namespace Ratchet;
use Ratchet\Protocol\ProtocolInterface;
class Server implements ServerInterface {
protected $master = null;
public function __construct(Socket $socket) {
$this->_master = $socket;
}
public function run() {
set_time_limit(0);
ob_implicit_flush();
// $this->_master->set_nonblock();
// declare(ticks = 1);
}
}