function returning an ip address

Just in case some official, long-established, real-world examples of returning an IPAddress from a function are needed: