RemoteModemCommand()

Sends commands to a modem while a Remote connection is being initiated.

Token ID

AFTKN_REM_MODEMCOMMAND or 822

Syntax

ANSISTRING RemoteModemCommand(ENUM ModemCommand; 
                              [ANSISTRING ModemData)]

Parameters

ModemCommand As ENUM

Specifies the modem command:

312

AllowLogging

Turns logging to the Log Window "On" or "Off" (see RemoteViewConnectionLog().) Use th e string parameter.

308

Break

Sends a one second break command to the modem. Ignore the optional string parameter.

309

CharAvailable

Returns True if characters are available, otherwise False. Ignore the optional string parameter.

310

Connected

Returns True if connected, otherwise False. Ignore the optional string parameter.

206

Read

Returns the charaters waiting at the modem (more than one Read! may be needed to return a desired string). Ignore the optional string parameter.

313

Settings

Modifies a modem's baud rate, parity, data bits, and stop bits, using a comma delimited string. An empty field uses a current setting. Use the string parameter.

311

TerminalMode

Displays the Modem Terminal dialog box. Ignore the optional string parameter.

314

Write

Sends the string parameter to the modem. Use the string parameter.

ModemData As ANSISTRING

(Optional) String data passed to a modem.

Return Values

ANSISTRING. Information about the modem connection.