Code example for InetAddress

Methods: getAddress

0
 
import org.krakenapps.dhcp.DhcpOptionCode; 
 
public class DhcpServerIdentifierOption extends RawDhcpOption { 
	public DhcpServerIdentifierOption(InetAddress addr) {
		super(DhcpOptionCode.ServerIdentifier.code(), 4, addr.getAddress());
	} 
	 
	public InetAddress getServerIp() {
		return ByteConverter.toInetAddress(getValue()); 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java