Sending data

Top  Previous  Next

To send data you may use the Send, SendWait, or SendNoWait method. The functionality and differences of these are described below.

 

Method

Description

Send

Sends command and waits for the session shell prompt to return. Returns a string containing all data received from Telnet server between the time the command was issued and the session shell prompt was received.

SendWait

Sends command and waits for the specified prompt to return. This prompt may differ from the current session shell prompt. Returns a string containing all data received from Telnet server between the time the command was issued and the specified prompt was received.

SendNoWait

Sends command and immediately returns. This is useful in cases where you want to send an "exit" or "logout" command and no shell prompt is expected to return

.        

 

 

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC