Network\Connection::get_address PHP Метод

get_address() публичный Метод

Returns the address of the socket.
public get_address ( ) : string | null
Результат string | null
    public function get_address()
    {
        $r = null;
        /**
         * This is documented as stating this should only be used
         * for socket_connect'ed sockets ... for now this seems to work.
         */
        socket_getsockname($this->get_resource(), $r);
        return $r;
    }