Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Telnet Dim command As Command Dim value() As Byte value = instance.SendCommand(command) |
C++/CLI | |
---|---|
public: array<byte>^ SendCommand( Command command ) |
Parameters
- command
- The command to send.
Return Value
A byte array containing the bytes sent.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.
Target Platforms: Microsoft .NET Framework 2.0