closeServerSocket

Networking::closeServerSocket

Closes a ServerSocket.

Declaration

void closeServerSocket(ServerSocketInterface* serverSocket);

Parameters

Name

Type

Description

serverSocket

ServerSocketInterface*

The memory address to the ServerSocket to close.

Returns

None.

Notes

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