www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - 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 reports 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.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.04V1.00V1.00V0.90

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document