tcp.statusStream

Syntax tcp.statusStream (stream, adrBytesPending)

Params stream is a stream reference returned by tcp.openStream.

adrBytesPending is the address of a variable that will be filled with the number of bytes waiting to be read on this connection.

Action Checks the status of a TCP/IP connection.

Returns One of the folowing strings:

CLOSED: The connection is closed; this stream reference is now invalid

OPEN: The connection is open but there is no data waiting to be read

DATA: The connection is open and there is data waiting to be read

INACTIVE: The stream reference is invalid

CLOSING: The connection is being closed; you cannot read from or write to the stream

UNKNOWN: The stream reference is invalid

STOPPED

Examples
Notes This verb obsoletes NetEvents.statusStream.

Discuss