Net/Notifier/Server.php
protected function &getReadArray()
    {
        $readArray = array();
        $readArray[] = $this->socket->getRawSocket();
        foreach ($this->clients as $client) {
            if ($client->getState() < Net_Notifier_WebSocket_Connection::STATE_CLOSED) {
                $readArray[] = $client->getSocket()->getRawSocket();
            }
        }

        return $readArray;
    }
protected function &getReadArray()
    {
        $readArray = array();
        $readArray[] = $this->socket->getRawSocket();
        foreach ($this->clients as $client) {
            if ($client->getState() < Net_Notifier_WebSocket_Connection::STATE_CLOSED) {
                $readArray[] = $client->getSocket()->getRawSocket();
            }
        }

        return $readArray;
    }
protected function & getReadArray ( ) { $ readArray = array ( ) ; $ readArray [ ] = $ this -> socket -> getRawSocket ( ) ; foreach ( $ this -> clients as $ client ) { if ( $ client -> getState ( ) < Net_Notifier_WebSocket_Connection :: STATE_CLOSED ) { $ readArray [ ] = $ client -> getSocket ( ) -> getRawSocket ( ) ; } } return $ readArray ; }
Gets an array of sockets to check for reading

@return array an aray of sockets to check for reading.
Gets an array of sockets to check for reading