www.beck-ipc.com

@CHIP-RTOS C Library - TCP/IP API


PPP_Server_GetIP

Reads the IP Address of the PPP Server

void PPP_Server_GetIP (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 Server into the provided string.   If no IP address of the PPP Server is available, the string will be empty.

SC1x3/SC2x 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 by using 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

    SC12SC13SC11SC1x3SC2x
    V1.10V1.00V1.00V0.90V1.00

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


End of document