closeServerSocket

Script::closeServerSocket

Closes a ServerSocket.

Declaration

void closeServerSocket(ServerSocket* serverSocket);

Parameters

Name

Type

Description

serverSocket

ServerSocket*

The memory address to the ServerSocket to close.

Returns

None.

Notes

If clients were connected to the serverSocket, they will be disconnected.