sendDataToClient

ServerSocketInterface::sendDataToClient

Sends data to a client.

Declaration

virtual void sendDataToClient(ConnectedClientID clientID, const void* data, size_t dataSize) = 0;

Parameters

Name

Type

Description

clientID

ConnectedClientID

The identifier of the client to send the data to.

data

const void*

The data to send to the client.

dataSize

size_t

The size of the data to send to the client.

Returns

None.

Notes

Buffer can be used to efficiently create the data to send to the client.