InetSuite DNS resolver module SWI interface
Environment variables used
| Inet$Resolvers | SPACE separated list of dotted IP addresses of servers |
| Inet$Hostname | Used by gethostname() to read local host name |
| Inet$LocalDomain | Overrides local domain (normally taken from Inet$Hostname) |
| Inet$SearchDomains | SPACE separated list of IP domain names to search on |
| Inet$ResolverRetries | Number of retries when lookups fail |
| Inet$ResolverDelay | Delay in seconds between retry attempts |
Resolver module
The Resolver relocatable module provides the following SWI calls for use by network applications wishing to perform DNS/Hosts file name lookups;
Resolver_GetHostByName
(SWI 0x46000)
On entry
On exit
Use
Resolver_GetHost
(SWI 0x46001)
On entry
On exit
Use
On entry
This performs a single tasking lookup, and otherwise behaves like _GetHostName.
Resolver_GetCache
(SWI 0x46002)
Use
Resolver_CacheControl
(SWI 0x46003)
Use
Resolver_XXXXX
(SWI 0x460XX)
Use
Example BASIC programs that use the DNS resolver can be found at DNS examples.
Add a comment to this article
If you wish to add a comment to this article, please use the form below. Please note that by submitting comments using this form you are allowing all of the information submitted to be visible on this website. Your comment will be published immediately, so please proof-read before you add. Any comments deemed to be abusive or irrelevant to the topic of the article may be removed without warning.
この雑誌で「F1」を含む検索結果:
むBSD系OS の 1 つです.FreeBSD の創始者たちは,元々は1991 年に公開された BSD系OS である「386BSD」へのパッチキット取りまとめを行っていたメンバーでした.しかし...