When the CtlState property is 1, it indicates that a connection has been established with the server.
Even if you set the Online property to True, if a connection has not actually been established, the CtlState property will be False.
The StateChanged event occurs when the CtlState property changes.
|