Creates a TelnetOption instance.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
public TelnetOption( int optionCode ) |
Visual Basic |
---|
Public Sub New ( _ optionCode As Integer _ ) |
Visual C++ |
---|
public: TelnetOption( int optionCode ) |
Parameters
- optionCode
- Type: System..::..Int32
The optioncode parameter identifies the option code for this Telnet option. For a list of valid option codes please consult the Telnet RFCs.
Remarks
Some examples of valid option codes include the following:
CopyC#

0 - BINARY Negotiates transmission of binary data 1 - ECHO Negotiates echoing of data exchanged 24 - TERMINAL TYPE Negotiates terminal display options