Code example for ServerSocket

Methods: close

0
                } 
            } 
            mThreadPool = null;
            mThread = null;
            try { 
                mServer.close();
                mServer = null;
                return true; 
            } catch (IOException e) {
                Slog.w(LOG_TAG, "Could not close the view server");
            } 
        } 
        return false; 
    } 
 
    /** 
     * Indicates whether the server is currently running. 
     * 
     * @return True if the server is running, false otherwise. 
     * 
     * @see #start()