Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodTelnetDLX
- Methods
- Properties
- Authentication
- AutoSize
- BackColor
- BackLog
- BindIP
- BindPort
- Blocking
- BorderVisible
- Certificate
- CharEncoding
- Column
- Columns
- ColWidth
- Command
- ContextMenu
- CursorHeight
- DataOut
- DataReady
- Enabled
- ErrorText
- ExitSignal
- ExitStatus
- Font
- ForeColor
- HandleSysKeys
- Hostname
- hWnd
- KeepAlives
- Language
- LastError
- LocalCertBag
- Login
- MousePointer
- MouseWheel
- MyHostname
- MyIP
- Notification
- Password
- Picture
- Port
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RecordMode
- RemoteIdentification
- Row
- RowHeight
- Rows
- ScrollBars
- ScrollX
- ScrollY
- SecureMethod
- SelectedText
- ShowCursor
- Socket
- SpecialKeyFocus
- State
- StateText
- StripANSI
- StripColors
- TabStop
- TelnetOption
- TerminalEmulation
- TerminalType
- Text
- Timeout
- TranslateSpecial
- UseIPv6
- Version
- Events
- IwodTelnetNotify
- wodTelnetDLX
- How to get support?
- Technical information
- Fast notifications interface
- Error list
ReceiveLine method
Receives line of text, if available
Type
StringSyntax
- Basic
object.ReceiveLine
The ReceiveLine(object) syntax has these parts:
The ReceiveLine(object) syntax has these parts:
object | An expression evaluating to an object of type wodTelnetDLX |
Remarks
ReceiveLine method will return full line from the buffer, if one exists. wodTelnetDLX will remove end-of-line markers (vbLf, vbCr and vbCrLf) so you get line of text you don't need to trim or remove such special codes.If no line can be found in the buffer (but still, data may exist, just not terminated with CR/LF bytes), component will return error 30043 ("None found"). If component returns empty string - it means empty string (terminated with CR/LF bytes) was found and there may be more lines to read.
Unlike Receive method, this method only returns string expression, and cannot return byte array. In Blocking mode, component will wait until Timeout expires to receive full line, if it is not already found in the buffer.