@CHIP-RTOS C Library V2.06 - TCP/IP API
getMailHosts
Use this function to determine the mail host(s) of a domain, i.e. host
accepting internet mail for the domain. short getMailHosts( const char far *domainName,
unsigned char nHosts,
DnsMailHost far *hosts ); Parameters
domainName
- Domain name to find mail hosts for (e.g. "beck-ipc.com")
nHosts
- Maximum number of host names that the function is to return
hosts
- Pointer to an array of type
DnsMailHost where domain name and preference
value of the mail hosts will be stored; The array must be large enough
to hold the number of entries passed in nHosts.
Return Value
- Number of mail hosts actually stored or negative
error code
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to the RTOS API function
DNS_GET_MAIL_HOSTS
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V1.05 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|