Code example for InetAddress

Methods: getHostAddress

0
		return true; 
	} 
 
	@Override 
	public String toString() {
		return String.format("mac=%s, ip=%s", mac, ip.getHostAddress());
	} 
}