public function handleConnection(RawSocket $clientSocket) { $clientSocket->setBlocking(false); $client = $this->createConnection($clientSocket); $this->emit('connection', array($client)); }
public function handleConnection(RawSocket $clientSocket) { $clientSocket->setBlocking(false); $client = $this->createConnection($clientSocket); $this->emit('connection', array($client)); }