Description
-
Receives incoming line without removing it from the buffer.
Return Type
-
A String value.
Syntax
-
object.PeekLine ()
The PeekLine Method syntax has these parts:
| object |
An expression evaluating to an object
of type wodTelnetDLX. |
Remarks
-
PeekLine method will return full line of text if it exists in
incoming buffer, but will not remove it from the buffer. wodTelnetDLX will
remove end-of-line markers (CR/LF) so you don't need to trim this
string by yourself. If no line is found, wodTelnetDLX will return error
30043 ("None found"), and will not wait for data to arrive.
-
-
To actually remove data from the incoming buffer, you should use
Receive or
ReceiveLine methods.
|