src/PTel.php
public function getMetaData($param) {
        if (!$this->_sock) { throw new SocketClientException("Connection gone!"); }
        $info = stream_get_meta_data($this->_sock);
        return $info[$param];
    }
public function getMetaData($param) {
        if (!$this->_sock) { throw new SocketClientException("Connection gone!"); }
        $info = stream_get_meta_data($this->_sock);
        return $info[$param];
    }
public function getMetaData ( $ param ) { if ( ! $ this -> _sock ) { throw new SocketClientException ( "Connection gone!" ) ; } $ info = stream_get_meta_data ( $ this -> _sock ) ; return $ info [ $ param ] ; }
Return stream meta data parameter

@param    $param      string      Parameter name

@throws   SocketClientException   On socket communication error
@return   mixed                   Value of parameter
Return stream meta data parameter