Back to product page

TelnetOption property


Specifies telnet negotiation options.

Type

TelnetOptionsEnum enumeration

Syntax

  • Basic
object.TelnetOption (Index)
The TelnetOption(object,Index,value) syntax has these parts:
objectAn expression evaluating to an object of type wodTelnetDLX
IndexAn Integer value. Specifies index of the telnet negotiation option to be set/retrieved..
valueCombination of TelnetOptionsEnum enumeration values

Remarks

This property is used only in TELNET protocol, to determine which telnet negotiation options are sent to the server, and how they are negotiated. You can force wodTelnetDLX to answer certain negotiation options differently than it would internally do - if server implementation requires so.

You should only use this property if you know what you're doing. As example, to disable SUPPRESS_GO_AHEAD option (ID #3) you would use code like this:
 
Telnet1.TelnetOption(3) = TeloptDONT + TeloptWONT
 

if you set Telnet1.TelnetOption(3) = 0 then wodTelnetDLX will not send initial sequence at all (by default it sends SUPPRESS_GO_AHEAD and ECHO options upon establishing connection.

Platforms

Windows