State Property
      
 

Description

Returns current TCPHandler state.

Property type

A StatesEnum enumeration.  

Syntax

object.State

The State Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type TCPHandler.

Remarks

State property will return current state of TCPHandler, as one of the values from StatesEnum enumeration. No events are fired directly as result of state changes. Indirectly, you can expect TCPConnected and TCPDisconnected events to fire, which will result in changes of this property.