setClientConnectCallback ======================== :doc:`/types/ServerSocket/index`::setClientConnectCallback Sets the function that will be called when a client connects to the server. Declaration ----------- .. code-block:: cpp void setClientConnectCallback(std::function callback); Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - ipAddress - `std::function `_\ - The function that will be called when a client connects to the server. Returns ------- None.