Code example for ServerSocket

Methods: close, isClosed

0
				e.printStackTrace();
			} 
		} 
 
		public void safeStop() { 
			if (ss != null && !ss.isClosed())
				try { 
					ss.close();
				} catch (IOException e) {
					// TODO Auto-generated catch block 
					e.printStackTrace();
				} 
			isLooped = false;
		} 
		 
	} 
	 
}