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.)
My regrets over the multiple posts (explanation is too banal).
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.
Thanks for the response Richard.
> According to RFC 3493 getaddrinfo and getnameinfo are supposed to be thread safe.
Yes. And they certainly avoid the static, per-process hostent structure
of the likes of gethostbyaddr(), requiring that response structures be
released using freeaddrinfo() when finished with.
> So, the portable way of performing these functions in an asynchronous manner
> would be to use threads in your program.
The idea of grafting POSIX threads into an exclusively AST-driven
infrastructure just to employ a single function makes me a little pale.
Anyone have a no-brainer approach?
> I do not know of a QIO call that would provide equivalent functionality for
> either of these functions.
Having been searching I was a little afraid of that. Thanks again.