@CHIP-RTOS C Library V2.00 - 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
type
data structure documentation.
Note: Only one PPP client connection can be opened
at a time!!
Refer to this RTOS API function's
documentation
for more details.
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
|