www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - TCP/IP API


PPP_Client_GetIP

Reads the IP Address of the PPP Client

void PPP_Client_GetIP ( const char far *IP );

Parameters

IP

Output parameter:   Pointer to a 16 byte memory area where the IPv4 address is to be stored as a null terminated string.

Return Value

-- none --

Comments

Copies the current IPv4 address of the PPP Client into the provided string.   If no IP address of the PPP Client is available, the string will be empty.

SC1x3 Comments

This function is deprecated, because it does not work if the PPP server uses the IPv6 protocol.   The IP configuration of all TCP/IP devices can be read using either Get_Iface_Entries or Get_IPv6_Iface_Entries.

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.10V1.00V1.00V0.90

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


End of document