tfUseAsyncServerPPP
Table of Contents >> Optional Protocols >> PPP Interface
| #include <trsocket.h> |
| ttUserLinkLayer tfUseAsyncServerPPP | (ttUserLnkNotifyFuncPtr notifyFuncPtr); |
Function Description
This function is used to initialize the asynchronous PPP server link layer. When link-up or link-down events occur, the stack will call the function passed in. If you do not need notification of events then the parameter should be set to TM_LNK_NOTIFY_FUNC_NULL_PTR.
See the funciton prototype for ttUserLnkNotifyFunc.
Parameters
- notifyFuncPtr
- The function to call to notify the user of PPP events.
Returns
- (ttUserLinkLayer)0
- Error.
- (Other)
- Success.