This property returns the state of the Winsock control, expressed as an enumerated type.
object.State
The following table shows the settings for the State property.
Constant |
Value |
Description |
sckClosed | 0 | Closed (default) |
sckOpen | 1 | Open |
sckListening | 2 | Listening |
sckConnected | 7 | Connected |
sckError | 9 | Error |
The State property is read-only at run time. It is unavailable at design time.