ServerSocketInterface

Functions

Name

Description

sendDataToClient

Sends data to a client.

setClientConnectCallback

Sets the function that will be called when a client connects to the server.

setClientDisconnectCallback

Sets the function that will be called when a client disconnects from the server.

setDataReceivedCallback

Sets the function that will be called when data is received from any client.

getPort

Returns the server’s port.

getConnectedClients

Returns information about all the clients connected to the server.