|
ITK Programmer's Guide |
||||||||||
Table of contents
|
Intro
|
General
|
TCP Low Level
|
TCP High Level
|
UDP
|
DNS
|
PPP
|
ITK_PPPStatus |
|||||||||||
|
|
||||||||||
Syntax: |
result := ITK_PPPStatus
|
||||||||||
Description: |
Returns the current status of PPP.
|
||||||||||
Params: |
|
||||||||||
Example: |
If (ITK_PPPStatus=0) ` PPP not connected $err := ITK_PPPOpen ` open PPP connection with current phonenumber, login and password If ($err = 0) ... If (ITK_PPPStatus=1) ` still connected via PPP ? ITK_PPPClose End If End If End If |
ITK_PPPOpen |
||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
Syntax: |
result := ITK_PPPOpen (phoneNum; login; password)
|
|||||||||||||||||||||||||
Description: |
Opens PPP connection. |
|||||||||||||||||||||||||
Params: |
|
|||||||||||||||||||||||||
Example: |
If (ITK_PPPStatus=0) ` PPP not connected $err := ITK_PPPOpen ` open PPP connection with current phonenumber, login and password If ($err = 0) ... If (ITK_PPPStatus=1) ` still connected via PPP ? ITK_PPPClose End If End If End If |
ITK_PPPClose |
||||||||||||||||
|
|
|||||||||||||||
Syntax: |
result := ITK_PPPClose (closeType)
|
|||||||||||||||
Description: |
Closes PPP connection.
|
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
If (ITK_PPPStatus=0) ` PPP not connected $err := ITK_PPPOpen ` open PPP connection with current phonenumber, login and password If ($err = 0) ... If (ITK_PPPStatus=1) ` still connected via PPP ? ITK_PPPClose End If End If End If |