Telnet Object : State Property |
Visual Basic |
---|
Public Property State As StateConstants |
To protect against programming errors, most methods return an error condition if your code attempts to send data when no TCP connection exists. By checking the value of this property, your application can always determine the state of the connection.