Re: AdaSockets 1.8.5 is released

Samuel Tardieu <[email protected]> Thu, 7 Jun 2007 13:34:14 +0200
Newsgroups gmane.comp.lang.ada.sockets
Organization RFC 1149 (see http://www.rfc1149.net/)
Message-ID <[email protected]>
On  7/06, Thomas De=A0Contes 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
| ><[email protected]>.
| =

| Why ? What's the interest in inet_aton in comparison with inet_addr ?

RTFM

       The  inet_addr()  function  converts  the Internet host address cp f=
rom
       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.

_______________________________________________
AdaSockets mailing list
[email protected]
http://lists.rfc1149.net/mailman/listinfo/adasockets