Telnet Factory for .NET

TelnetOption Class

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.

For a list of all members of this type, see TelnetOption Members.

System.Object
   Jscape.Telnet.TelnetOption
      Jscape.Telnet.Options.Binary
      Jscape.Telnet.Options.TerminalType
      Jscape.Telnet.Options.TimingMark

public class TelnetOption

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

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

optioncode
in constructor and override methods
ReadSubnegotation
and WriteSubnegotiation for formatting/parsing option specific data.

Requirements

Namespace: Jscape.Telnet

Assembly: Jscape.Telnet (in Jscape.Telnet.dll)

See Also

TelnetOption Members | Jscape.Telnet Namespace