Code example for Socket

Methods: closeshutdownInputshutdownOutput

0
		@Override 
		public void Kill(Socket s) 
		{ 
			try 
			{ 
				s.shutdownInput();
				s.shutdownOutput();
				s.close();
			} 
			catch(Exception e)
			{ 
				 
			} 
		} 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java