Command IT_PPPDisconnect

4D Internet Commands

IT_PPPDisconnect

version 6.8.1


IT_PPPDisconnect {(pppProfil)} Integer

ParameterTypeDescription
pppProfilStringDial-up name = Null string on Mac OS,
optionally filled under Windows

Function result Integer Error code

Description

The IT_PPPDisconnect command closes the current dial-up connection previously opened by IT_PPPConnect.

pppProfil is a text value specifying the dial-up connection to close.

Under Windows, this parameter may be useful when several PPP connections are opened simultaneously. Using this parameter will ensure good running whatever the user network configuration.

Under Windows:

• If only one connection is opened and pppProfil is not passed or is passed as a null string, IT_PPPDisconnect closes the opened connection.

• If several connections are opened and pppProfil is not passed or is passed as a null string, IT_PPPDisconnect returns an error and does not close any connection.

• If pppProfil is passed and valid, the specified connection is closed whatever the number of opened connections.

Under Mac OS:

This parameter is not taken into account.

See Also

IT_PPPConnect, IT_PPPStatus.