Getting IP of an Interface in Clojure
Here’s a rather crude way in clojure to get the IP of the current host given a network interface
1 2 3 4 5 6 | |
Of course, fails horribly with an NullPointerException if the interface is not present :)
Here’s a rather crude way in clojure to get the IP of the current host given a network interface
1 2 3 4 5 6 | |
Of course, fails horribly with an NullPointerException if the interface is not present :)