SubOption Event
Fired when a Telnet SubOption command comes from the Telnet server.
Syntax
[VB.NET] Public Event OnSubOption As OnSubOptionHandler
[C#] public event OnSubOptionHandler OnSubOption; public delegate void OnSubOptionHandler(object sender, TelnetSubOptionEventArgs e); class TelnetSubOptionEventArgs : EventArgs { string SubOption {get;} byte[] SubOptionB {get;} }
Remarks
The SubOption parameter contains the suboption data as sent by the other end. The enclosing suboption command codes are stripped away.
For a list of valid Telnet suboptions and their descriptions please look at the Telnet RFCs.