www.beck-ipc.com

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


PPP_Client_Open

Open a PPP connection.

int PPP_Client_Open ( PPPClient_Init far *ptr, int *error );

Parameters

ptr

Pointer to a PPPClient_Init type data structure (declared in tcpipapi.h)

error

Output parameter:  Failure code, 0 on success.

Return Value

0 = success
Non-zero = Failure (see error output parameter)

Comments

On success, the structure at ptr contains the needed IP data for further TCP/IP socket communication.

Refer to the PPPCLIE.C example for how to use this API.   Also refer to the PPPClient_Init data structure documentation.

Note: Only one PPP client connection can be opened at a time!!

SC1x3 Comments

This API applies to IPv4 type PPP connections.   For IPv6 connections, see PPP_Client_Open_IPv6 API.

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

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


End of document