IP address reading

A simple code that reads the IP addresses from the computer that runs our application and returns the one that’s not the loopback address. If a computer has several network cards, return from the method with the one you want by