ClientSocket ============ *Inherits* :doc:`/types/ClientSocketInterface/index`. Functions --------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Description * - :doc:`/types/ClientSocket/connectToServer/index` - Connects the client to a server. * - :doc:`/types/ClientSocket/sendDataToServer/index` - Sends data to a server. * - :doc:`/types/ClientSocket/setServerDisconnectCallback/index` - Sets the function that will be called when the client gets disconnected from the server. * - :doc:`/types/ClientSocket/setDataReceivedCallback/index` - Sets the function that will be called when data is received from the server. * - :doc:`/types/ClientSocket/getConnectedServer/index` - Returns information about the server on which the client is connected to. .. toctree:: :hidden: ./connectToServer/index.rst ./sendDataToServer/index.rst ./setServerDisconnectCallback/index.rst ./setDataReceivedCallback/index.rst ./getConnectedServer/index.rst