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