Obtain Multiaddress IP with java

If you have many address, you can obtain all :
[java]
InetAddress[] e = InetAddress.getAllByName(InetAddress.getLocalHost().getCanonicalHostName());
[/java]

Tags:

Comments are closed.