getConnectedServer ================== :doc:`/types/ClientSocketInterface/index`::getConnectedServer Returns information about the server on which the client is connected to. Declaration ----------- .. code-block:: cpp virtual const ConnectedServer& getConnectedServer() = 0; Parameters ---------- None. Returns ------- A const reference to the :doc:`/types/ConnectedServer/index`.