Java in a Nutshell Online Quick Reference for Java 1.1
CLASS java.net.InetAddress
Availability: JDK 1.0
public final class InetAddress extends Object implements Serializable {
// No Constructor
// Class Methods
public static InetAddress[] getAllByName(String host) throws UnknownHostException;
public static InetAddress getByName(String host) throws UnknownHostException;
public static InetAddress getLocalHost() throws UnknownHostException;
// Public Instance Methods
public boolean equals(Object obj); // Overrides Object.equals()
public byte[] getAddress();
public String getHostAddress();
public String getHostName();
public int hashCode(); // Overrides Object.hashCode()
1.1 public boolean isMulticastAddress();
public String toString(); // Overrides Object.toString()
}
- Passed To:
-
DatagramPacket.DatagramPacket(),
DatagramPacket.setAddress(),
DatagramSocket.DatagramSocket(),
DatagramSocketImpl.bind(),
DatagramSocketImpl.join(),
DatagramSocketImpl.leave(),
DatagramSocketImpl.peek(),
MulticastSocket.joinGroup(),
MulticastSocket.leaveGroup(),
MulticastSocket.setInterface(),
RMISecurityManager.checkMulticast(),
SecurityManager.checkMulticast(),
ServerSocket.ServerSocket(),
Socket.Socket(),
SocketImpl.bind(),
SocketImpl.connect().
- Returned By:
-
DatagramPacket.getAddress(),
DatagramSocket.getLocalAddress(),
InetAddress.getAllByName(),
InetAddress.getByName(),
InetAddress.getLocalHost(),
MulticastSocket.getInterface(),
ServerSocket.getInetAddress(),
Socket.getInetAddress(),
Socket.getLocalAddress(),
SocketImpl.getInetAddress().
- Type Of:
-
SocketImpl.address.
Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan.
Copyright © 1997 by O'Reilly & Associates.