Resolver SWIs
Stewart Brodie
stewart.brodie at pace.co.uk
Wed Sep 4 08:24:29 BST 2002
> 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.
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.
> 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.
--Stewart
More information about the oslib-user
mailing list