AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     pointer to zero-terminated host name
<=     R0 =     pointer to error block if error, error number
     R1 =     pointer to hostent structure if successful, or 0 otherwise

This SWI will either return a host entry if one is cached or begin a lookup if not. This call should be used for multi-tasking lookups. EINPROGRESS will be returned if the lookup is still in progress.
Resolver_GetHost errors
Number     Meaning

>0     Standard socket error number
     usually this will be EINPROGRESS (36)
0     No error
-1     Host not found
-2     Resolve failure (eg didn't respond)

[sh-index] Back to list of manuals