The TelnetOption class enables developers to implement and use existing and
future TELNET protocol options. The framework is specified in RFC 855 and
standard options are specified in separate RFC documents.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
[SerializableAttribute] public class TelnetOption |
Visual Basic |
---|
<SerializableAttribute> _ Public Class TelnetOption |
Visual C++ |
---|
[SerializableAttribute] public ref class TelnetOption |
Remarks
Notes for subclassing:
For some options (i.e. ECHO or BINARY), it is enough to pass an option code to the constructor to be able to use it. Many options, however, use subnegotiation and the TelnetOption class should be subclassed. For those options requiring subnegotiation the option class should set
CopyC#
in constructor and override methods
CopyC#
and
WriteSubnegotiation for formatting/parsing option
specific data.
For some options (i.e. ECHO or BINARY), it is enough to pass an option code to the constructor to be able to use it. Many options, however, use subnegotiation and the TelnetOption class should be subclassed. For those options requiring subnegotiation the option class should set

optioncode

ReadSubnegotation
Inheritance Hierarchy
System..::..Object
Jscape.Telnet..::..TelnetOption
Jscape.Telnet.Options..::..Binary
Jscape.Telnet.Options..::..TerminalType
Jscape.Telnet.Options..::..TimingMark
Jscape.Telnet..::..TelnetOption
Jscape.Telnet.Options..::..Binary
Jscape.Telnet.Options..::..TerminalType
Jscape.Telnet.Options..::..TimingMark