@CHIP-RTOS C Library V2.00 - TCP/IP API
PPP_Client_Get_DNSIP
Get DNS IP. int PPP_Client_Get_DNSIP ( unsigned long far *IPaddress,
int primary_sec, int *error ); Parameters
IPaddress
- Output parameter: DNS address is stored here.
primary_sec
- 1: Get primary DNS address
2: get secondary address.
error
- Output parameter: Failure
code, 0 on success.
Return Value
- 0 = success
Non-zero = Failure (see error
output parameter)
Comments
- This API function outputs the DNS addresses as negotiated by
the remote PPP server.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|