Parameters
Netcard
[in] ID of network port to use.
Read
[out, retval] Returns the data in the buffer.
Telnet_ClearReadBuffer ( NetCard )
Clears the telnet buffer of the specified network port.
Syntax
HRESULT Telnet_ClearReadBuffer(
[in] long NetCard,
[out, retval] VARIANT_BOOL* Success
);
Parameters
Netcard
[in] ID of network port to use.
Success
[out, retval] Returns TRUE if buffer was cleared successfully.
Telnet_ReadBufferCount ( NetCard )
Counts the number of characters in the buffer.
Syntax
HRESULT Telnet_ReadBufferCount (
[in] long NetCard,
[out, retval] long* Count
);
Parameters
Netcard
[in] ID of network port to use.
Count
[out, retval] Number of characters in the buffer.
Logging Methods
Log_Write ( FileName, IsExpression, Buffer, MaxSize )
Writes a string to the log file identified by
FileName
.
Syntax
HRESULT Log_Write(
[in] BSTR FileName,
[in] long IsExpression,
[in] BSTR Buffer,
[in] long MaxSize
[out, retval] VARIANT_BOOL* Success
);
Parameters
FileName
[in] Name of the log file.
10