English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] ipv6
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-05 (20:36)
From: Nicolas George <nicolas.george@e...>
Subject: Re: [Caml-list] ipv6
Le quintidi 15 ventôse, an CCXI, Ceri Storey a écrit :
> It looks good to me, but I don't suppose it'd be possible to have it
> extensible to other address families? Myself, i'd like getaddrinfo
> etc to handle unix addresses transparently. Admittedly this isn't
> supported in any C implementation I know of, but IMHO it'd be nice.

For Unix domain addresses, this is supported by the implementation given
by Richard Stevens in Unix Network Programming, with /unix or /local as
node name, and the path to the socket as service name. I have heard that
there were a similar system in the GNU libc, but I never checked.