protected function createStream()
    {
        $host = sprintf('udp://%s:%d', $this->config['host'], $this->config['port']);

        // stream the data using UDP and suppress any errors
        $this->stream = @stream_socket_client($host);
    }
protected function createStream()
    {
        $host = sprintf('udp://%s:%d', $this->config['host'], $this->config['port']);

        // stream the data using UDP and suppress any errors
        $this->stream = @stream_socket_client($host);
    }
protected function createStream ( ) { $ host = sprintf ( 'udp://%s:%d' , $ this -> config [ 'host' ] , $ this -> config [ 'port' ] ) ; // stream the data using UDP and suppress any errors $ this -> stream = @ stream_socket_client ( $ host ) ; }
Create the resource stream
Create the resource stream