Sends Telnet Command and associated Paramter to TELNET server.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
public void SendCommand( int command, int parameter ) |
Visual Basic |
---|
Public Sub SendCommand ( _ command As Integer, _ parameter As Integer _ ) |
Visual C++ |
---|
public: void SendCommand( int command, int parameter ) |
Parameters
- command
- Type: System..::..Int32
The telnet command to send.
- parameter
- Type: System..::..Int32
The associated parameter to send.
Remarks
On error, displays the stack trace and disconnects from TELNET server.