closeClientSocket

Script::closeClientSocket

Closes a client socket.

Declaration

void closeClientSocket(ClientSocketInterface* clientSocket);

Parameters

Name

Type

Description

clientSocket

ClientSocketInterface*

The memory address to the client socket to close.

Returns

None.

Notes

If clientSocket was connected to a server, it will be disconnected.