Telnet Methods
Telnet_Send ( NetCard, Msg, MaxWaitMS )
Writes a string to the log file identified by
FileName
.
Syntax
HRESULT Telnet_Send(
[in] long NetCard,
[in] BSTR Msg,
[in] long MaxWaitMS
[out, retval] long* NotSent
);
Parameters
Netcard
[in] ID of network port to use.
Msg
[in] Message to send.
MaxWaitMS
[in] Timeout Value.
NotSent
[out, retval] Returns 1 if Telnet Send Failed.
Telnet_SendExpression ( NetCard, Expression, MaxWaitMS )
Writes a string to the log file identified by
FileName
.
Syntax
HRESULT Telnet_SendExpression(
[in] long NetCard,
[in] BSTR Expression,
[in] long MaxWaitMS
[out, retval] long* NotSent
);
Parameters
Netcard
[in] ID of network port to use.
Expression
[in] Expression to send.
MaxWaitMS
[in] Timeout Value.
NotSent
[out, retval] Returns 1 if Telnet Send Failed.
Telnet_Read ( NetCard )
Reads the data in the telnet buffer of the specified network port.
Syntax
HRESULT Telnet_Read(
[in] long NetCard,
[out, retval] BSTR* Read
);
10