- java.lang.Object
-
- java.net.InetAddress
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Inet4Address,Inet6Address
public class InetAddress extends Object implements Serializable
This class represents an Internet Protocol (IP) address.An IP address is either a 32-bit or 128-bit unsigned number used by IP, a lower-level protocol on which protocols like UDP and TCP are built. The IP address architecture is defined by RFC 790: Assigned Numbers, RFC 1918: Address Allocation for Private Internets, RFC 2365: Administratively Scoped IP Multicast, and