From: "Alexei Polkhanov" <alexp@ica.net>
Subject: Re: How to express "gethostbyname" with Florist/Posix?
Date: Thu, 15 Aug 2002 16:34:02 -0700
Date: 2002-08-15T16:34:02-07:00 [thread overview]
Message-ID: <XRW69.2119$8Y5.5098@news.bc.tac.net> (raw)
In-Reply-To: ajgujg$2mm$02$1@news.t-online.com
see spec in posix-sockets.ads:
procedure Get_Socket_Address_Info
(Name : in POSIX.POSIX_String;
Service : in POSIX.POSIX_String;
Info : in out Socket_Address_Info_List);
procedure Get_Socket_Address_Info
(Name : in POSIX.POSIX_String;
Service : in POSIX.POSIX_String;
Request : in Socket_Address_Info;
Info : in out Socket_Address_Info_List);
these are by itself thin bindings to wrappers around gethostbyname defined
in getaddrinfo.c.
According to it wrappers are necessary in order to make code protocol
independent that is
same function will work with IPv4 and IPv6.
Cheers.
"Franz Kruse" <Franz.Kruse@t-online.de> wrote in message
news:ajgujg$2mm$02$1@news.t-online.com...
> Does anybody have an idea how to express the functionality of
> gethostbyname with operations available in the Florist Posix library?
>
> Franz
>
>
prev parent reply other threads:[~2002-08-15 23:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-15 19:15 How to express "gethostbyname" with Florist/Posix? Franz Kruse
2002-08-15 23:34 ` Alexei Polkhanov [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox