wodSSH ActiveX Control - PeekLine Method
      
 

Description

Receives an incoming line without removing it from the buffer.


Return Type

A String value.  


Syntax

object.PeekLine ()



The PeekLine Method syntax has these parts:

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

Remarks

The PeekLine method will return a full line of text, if it exists, in the incoming buffer, without removing it from the buffer. wodSSH will remove end-of-line markers (CR/LF) so you don't need to trim this string by yourself. If no line is found, wodSSH 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 the Receive or ReceiveLine methods.