NetworkInterface

Class NetworkInterface

public final class NetworkInterface
extends Object

This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface. It is used to identify the local interface on which a multicast group is joined. Interfaces are normally known by names such as "le0".

Since:
1.4

Methods

getName

public String getName()

Get the name of this network interface.

Returns:
the name of this network interface

getInetAddresses

public Enumeration<InetAddress> getInetAd