wodTelnetDLX ActiveX Control - ReceiveLine Method
      
 

Description

Receives line of text, if available.


Return Type

A String value.  Received line with data in a string expression.


Syntax

object.ReceiveLine ()



The ReceiveLine Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTelnetDLX.

Remarks

ReceiveLine method will return full line from the buffer, if one exists. wodTelnetDLX will remove end-of-line markers (vbLf, vbCr and vbCrLf) so you get line of text you don't need to trim or remove such special codes.

If no line can be found in the buffer (but still, data may exist, just not terminated with CR/LF bytes), component will return error 30043 ("None found"). If component returns empty string - it means empty string (terminated with CR/LF bytes) was found and there may be more lines to read.

Unlike Receive method, this method only returns string expression, and cannot return byte array. In Blocking mode, component will wait until Timeout expires to receive full line, if it is not already found in the buffer.