PowerTCP Emulation for .NET
SendSubOption Method




The option pertaining to the suboption.
The suboption to negotiate.
Sends a suboption request or response to the server.
Syntax
Public Function SendSubOption( _
   ByVal code As OptionCode, _
   ByVal subOption() As Byte _
) As Byte()
Dim instance As Telnet
Dim code As OptionCode
Dim subOption() As Byte
Dim value() As Byte
 
value = instance.SendSubOption(code, subOption)
public byte[] SendSubOption( 
   OptionCode code,
   byte[] subOption
)
public: byte[]* SendSubOption( 
   OptionCode code,
   byte[]* subOption
) 
public:
array<byte>^ SendSubOption( 
   OptionCode code,
   array<byte>^ subOption
) 

Parameters

code
The option pertaining to the suboption.
subOption
The suboption to negotiate.

Return Value

The bytes sent to the remote host.
Remarks

Option megotiation typically occurs automatically by the Telnet component. Suboption data is sent by the Telnet component when a new option (containing the appropriate suboption data) is added to either ClientOptions or ServerOptions. Only use this method if automatic option negotiation is not used.

See Also

Reference

Telnet Class
Telnet Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic