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
DataReady property
Holds the total numbers of bytes waiting to be received by your application.
Type
A Long value. Total bytes in the incoming buffer.Syntax
- Basic
object.DataReady [= value]
The DataReady(object,value) syntax has these parts:
The DataReady(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodSSH. |
value | A Long value. |
Remarks
The DataReady property will return the total number of bytes currently waiting in wodSSH's buffers, for you to read with the Receive method. You shouldn't rely too much on its accuracy since its value can change internally very quickly as more data arrives in wodSSH. In Blocking mode it is often better not to call the Receive method and wait for the timeout to expire if there is no data waiting already.You can set this value to 0, or to any value lower than it currently contains. In this case wodSSH will "consume" bytes up to the value that you define.