Back to product page
- Introduction
- Overview
- License Agrement
- Getting Started
- Objects
- Enumerations
- wodSSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- ClientName
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encoding
- Encryption
- EncryptionList
- ErrorText
- ExitSignal
- ExitStatus
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyForward
- KeySignatureList
- LastError
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StateText
- StripANSI
- StripNull
- Subsystem
- TerminalSpeed
- TerminalType
- Timeout
- UseIPv6
- Version
- Events
- IwodSSHNotify
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Timeout property
Timeout value, in seconds.
Type
An Integer value. Number of idle seconds before disconnection.Syntax
- Basic
object.Timeout [= value]
The Timeout(object,value) syntax has these parts:
The Timeout(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodSSH. |
value | An Integer value. |
Remarks
The Timeout value specifies how many seconds must pass without any activity occurring between wodSSH and the remote server before wodSSH will autodisconnect. Autodisconnect is a measure of protection so there are no 'ghost' connections made between you and the remote server. If you don't want autodisconnection to occur, set Timeout property to 0.Timeout will not cause component to disconnect from the server if it's in the middle of blocking call (such as Receive method). In such cases it will just cause method to unblock and report an error, but you will still be able to reuse connection and continue in the same session.
Timeout can be changed during the lifetime of a connection. You shouldn't set it below 120 (2 minutes) if you are on slow network connection.