(lib network) Should inet_aton be called instead of inet_addr ?
igloo at earth.li
Mon Sep 22 14:45:48 EDT 2008
On Thu, Sep 18, 2008 at 02:32:45AM +0200, Marc Weber wrote:
> Reading http://linux.die.net/man/3/inet_addr I noticed that
> inet_addr is obsolete and inet_aton should be used because inet_addr
> indicates error by returning -1 which is a valid address (255.255.255.0)
> as well.
> Don't know wether it's worth changing or wether inet_aton is peresent on
> all systems
It sounds like we shouldchange, although I too don't know how portable
inet_aton is. Could you file a proposal please?:
More information about the Libraries