wodTelnetDLX ActiveX Control - TelnetOption Property
      
 

Description

Specifies telnet negotiation options.


Property type

A TelnetOptionEnum enumeration.  


Syntax

object.TelnetOption(Index) [= value]



The TelnetOption Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTelnetDLX.
Index An Integer value. Specifies index of the telnet negotiation option to be set/retrieved.
value Combination of TelnetOptionEnum enumeration values, as described in settings.

Settings

The settings for value are:

Constant Value Description
 TeloptWILL 1 Specifies WILL telnet option.
 TeloptWONT 2 Specifies WONT telnet option.
 TeloptDO 4 Specifies DO telnet option.
 TeloptDONT 8 Specifies DONT telnet option.

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
 
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.