Obtain Multiaddress IP with java

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

Posted by in Notes

Tags:

Permalink

Comments are closed.