TCPSocket.Lookahead Method

Returns a String, containing the data that is available in the internal queue without removing it. The optional Encoding parameter enables you to specify the text encoding of the data to be returned.

Syntax

TCPSocket.Lookahead [Encoding]


Parameters

Encoding (Optional)

TextEncoding


Use the Encodings object to specify an encoding.