[Info-vax] ACPCONTROL equivalents of getaddrinfo() and getnameinfo()
Richard Whalen
WhalenR at process.com
Mon Aug 30 09:43:42 EDT 2010
"Mark Daniel" <mark.daniel at wasd.vsm.com.au> wrote in message
news:4c7a9a2a$0$28655$c3e8da3 at news.astraweb.com...
>A $QIO with function IO$_ACPCONTROL and the likes of subfunctions of
>INETACP_FUNC$C_GETHOSTBYNAME or INETACP_FUNC$C_GETHOSTBYADDR is the
>documented *asynchronous* mechanism for resolving host names and addresses
>(equivalents of the BSD calls gethostbyname() and gethostbyaddr()).
>
> This seems only able to return A records. I am looking for the
> asynchronous AAAA record equivalents of the likes of getaddrinfo() and
> getnameinfo() ... but without much success.
>
> Can anyone point me in the right direction (or tell me there is no such)?
> TIA.
>
> (HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 2, FWIW.)
According to RFC 3493 getaddrinfo and getnameinfo are supposed to be thread
safe.
So, the portable way of performing these functions in an asynchronous manner
would be to use threads in your program.
I do not know of a QIO call that would provide equivalent functionality for
either of these functions.
More information about the Info-vax
mailing list