Add myip function to get this machine's IP address.