Code example for ServerSocket

Methods: closegetLocalPort