Code example for LocalServerSocket

Methods: close

0
		closeSockets(); 
	} 
	 
	private void closeSockets() { 
		try { 
			lss.close();
			sender.close();
			receiver.close();
		} 
		catch (IOException e) {
			MyLog.e("Error while attempting to close local sockets"); 
		} 
		lss = null; sender = null; receiver = null;
	} 
	 
} 
Connect your IDE to all the code out there  Get Codota for Java