Partager via


2.2.1.1.19 RASMAN_STATE

The RASMAN_STATE enumeration indicates the connection condition of a given RAS port.

 typedef enum _RASMAN_STATE
 {
   CONNECTING = 0,
   LISTENING = 1,
   CONNECTED = 2,
   DISCONNECTING = 3,
   DISCONNECTED = 4,
   LISTENCOMPLETED = 5,
 } RASMAN_STATE;

CONNECTING: The port is in the process of connecting.

LISTENING: The port is listening for connection requests.

CONNECTED: The port is connected.

DISCONNECTING: The port is in the process of disconnecting.

DISCONNECTED: The port is disconnected.

LISTENCOMPLETED: The port has completed listening for connection requests.