RemoteCreateModemConnection()

Creates a modem connection.

Token ID

AFTKN_REM_CREATE_ASYNC_CONNECTION or 786

Syntax

VOID RemoteCreateModemConnection( ANSISTRING ConnectionName; 
                          ANSISTRING PhoneNumber; 
                          ANSISTRING GatewayLoginID; 
                          ANSISTRING GatewayPassword; 
                           [ANSISTRING ModemScriptFilePath]; 
                          [ENUM DisconnectMethod]; 
                          [WORD RedialAttempts]; 
                          [WORD RedialInterval])

Parameters

ConnectionName As ANSISTRING

User-defined name.

PhoneNumber As ANSISTRING

The phone number for the connection.

GatewayLoginID As ANSISTRING

GatewayPassword As ANSISTRING

Passowrd for logging in to the gateway.

ModemScriptFilePath As ANSISTRING

(Optional) Location for the modem script.

DisconnectMethod As ENUM

(Optional) Specifies the disconnect method:

300

AfterAllUpdates

301

AfterRequestsSent

0

Manual

RedialAttempts As WORD

Default = 5. (Optional)

RedialInterval As WORD

Number of minutes: Default = 1. (Optional)