closeClientSocket

Script::closeClientSocket

Closes a ClientSocket.

Declaration

void closeClientSocket(ClientSocket* clientSocket);

Parameters

Name

Type

Description

clientSocket

ClientSocket*

The memory address to the ClientSocket to close.

Returns

None.

Notes

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