ServerSocket.StopListening
From Xojo Documentation
Method
Terminates listening on the ServerSocket. It does not terminate any established connections.
Example
This example terminates listening.
mServerSocket.StopListening
Terminates listening on the ServerSocket. It does not terminate any established connections.
This example terminates listening.