Thanks, if inet_addr() returns an unsigned 4-byte integer, why does the API documentation say inet_addr() returns signed "-1" if the API is unsuccessful?
Does an API exist that converts dotted decimal IP address into hexadecimal? For example:18.104.22.168 => x'C8C9CACB'
You're right, the prototype I gave is wrong. It should specify 10i 0 for the return value. Thanks for catching it. Tom Daly