[adasockets] AdaSockets 1.8.5 is released
Samuel Tardieu
sam at rfc1149.net
Thu Jun 7 13:34:14 CEST 2007
On 7/06, Thomas De Contes wrote:
| > http://www.rfc1149.net/devel/adasockets
|
| Well, since this page is out,
I shall fix it later today if I find some time.
| Could sb send me the last version of adasockets, please ?
| (If sb has the last version of adasockets but no webspace to push it
| online, there is http://dl.free.fr/ :-) )
What/who is sb ?
| >* New in AdaSockets 1.8.5
| >
| >Use inet_aton instead of inet_addr. Patch sent by Guillaume Foliard
| ><guifo at wanadoo.fr>.
|
| Why ? What's the interest in inet_aton in comparison with inet_addr ?
RTFM
The inet_addr() function converts the Internet host address cp from
numbers-and-dots notation into binary data in network byte order. If
the input is invalid, INADDR_NONE (usually -1) is returned. This is an
obsolete interface to inet_aton(), described immediately above; it is
obsolete because -1 is a valid address (255.255.255.255), and
inet_aton() provides a cleaner way to indicate error return.
More information about the AdaSockets
mailing list