wodTelnetDLX ActiveX Control - Peek Method
      
 

Description

Receives incoming data without removing it from the buffer.


Return Type

A String value.  


Syntax

object.Peek ()



The Peek Method syntax has these parts:

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

Remarks

Peek method will return contents of incoming buffer, without removing it from the buffer. It can be used to check if expected data is received so it can be read all at once. You can call Peek method as many times as you like - it will not block wodTelnetDLX in any way (no matter if Blocking is set or not).

This method will always return string expression - unlike Receive method it cannot return byte arrays.