Code example for InetAddress

Methods: getHostAddress

0
		this.serverSocket.close();
	} 
 
	public String getAddressAndPort(){
 
		return addr.getHostAddress() + ":" + port;
	} 
} 
Experience pair programming with AI  Get Codota for Java