PowerTCP Emulation for .NET CF
SendCommand Method
See Also  Send comments on this topic.
Dart.Emulation Namespace > Telnet Class : SendCommand Method




command
The command to send.
Sends a Telnet (non-option) command to the server.

Syntax

Visual Basic (Declaration) 
Public Function SendCommand( _
   ByVal command As Command _
) As Byte()
Visual Basic (Usage)Copy Code
Dim instance As Telnet
Dim command As Command
Dim value() As Byte
 
value = instance.SendCommand(command)
C# 
public byte[] SendCommand( 
   Command command
)
Managed Extensions for C++ 
public: byte[]* SendCommand( 
   Command command
) 
C++/CLI 
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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.