PowerTCP Emulation for .NET
SendCommand Method




The command to send.
Sends a Telnet (non-option) command to the server.
Syntax
Public Function SendCommand( _
   ByVal command As Command _
) As Byte()
Dim instance As Telnet
Dim command As Command
Dim value() As Byte
 
value = instance.SendCommand(command)
public byte[] SendCommand( 
   Command command
)
public: byte[]* SendCommand( 
   Command command
) 
public:
array<byte>^ SendCommand( 
   Command command
) 

Parameters

command
The command to send.

Return Value

A byte array containing the bytes sent.
Remarks

Telnet control functions are commands which represent functions that are implemented on most servers. For example, most servers provide an "IP" function that permits the user to interrupt or abort a process.

See Command for a list of control functions.

For manual option negotiation, use SendOption.

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