connectionlist State property
Return to Introduction  Previous page  Next page
Applies to
acConnection object.  

Declaration
property State: DWord;  

Description
The State property determines the state of the connection.  
 
The possible values for the State property are following:  
const  
  CLOSED       = 1;  
  LISTEN       = 2;  
  SYN_SENT     = 3;  
  SYN_RECEIVED = 4;  
  ESTABLISHED  = 5;  
  CLOSE_WAIT   = 6;  
  FIN_WAIT_1   = 7;  
  CLOSING      = 8;  
  LAST_ACK     = 9;  
  FIN_WAIT_2   = 10;  
  TIME_WAIT    = 11;  
  TCB_DISCARD  = 12;  

See also
StateStr property.