Resolver SWIs
David J. Ruck
druck at druck.org.uk
Wed Sep 4 17:49:51 BST 2002
On 4 Sep 2002 "Stewart Brodie" <stewart.brodie at pace.co.uk> wrote:
>> Any chance of support for the resolver module SWI's in OSLib?
>>
>> Specifically Resolver_GetHostByName and Resolver_GetHost (ByAddr) and the
>> hostent structure.
>
> The real problem is that latter call. Just to make sure everybody is aware
> of the problems with this module, if anyone thinks that Resolver_GetHost is
> short for Resolver_GetHostByAddr, they would be wrong.
Well at least one implementation does have &46001 as Resolver_GetHostByAddr,
and the naming convention of Resolver_GetHost doesn't help to disambiguate
it.
> Resolver_GetHostByName is the blocking lookup, Resolver_GetHost is the
> asynchronous lookup. It is not worth supporting any other interface, IMHO.
> Other resolver modules had the second SWI be the blocking gethostbyaddr()
> implementation.
Ok, noted.
>> Anymore more than that and someone will have to work out what the other
>> undocumented and contradictary SWI's in various implementations are!
>
> The ANT SWIs are documented - there is (was) a page on their website.
I think was is the operative word.
Paul Vigay has a page on his website, can you confirm that
http://www.vigay.com/cgi-bin/r?a=inet_dns is correct.
Cheers
---Dave
--
____________________________________________________________________________
David J. Ruck Phone: +44- (0)7974 108301 Email: druck at druck.org.uk
____________________________________________________________________________
More information about the oslib-user
mailing list