ServerSocket.Pause (gb.net)

Sub Pause ( )

Use this method to keep all existing connections alive, but do not accept more until you use the Resume method.

You can use this method even if socket is not listening, so when it starts listening, it will refuse all incoming connections until you call to Resume() method.