Re: send - WeOnlyDo Discussion board

Re: send (General questions)

by eltaghi, Wednesday, April 12, 2006, 20:06 (6591 days ago) @ wodSupport

Hello Kreso,
Your Code is working fine:
----------------------
byte[] b = new byte[1];
b[0] = 3;
Ssh1.Send( b );
-------------Thanks---------
Also, sending:
Ssh1.Send( \b );
OR
Ssh1.Send( ^ );
Do the same job. I found some code that call Ssh1.Receive after disconnection, so I thought it was from Ssh1.Send( \b ); or Ssh1.Send( ^ );.
--------------------
Now I have two issues:

1. Some times when I click the GO Button to send a command, I did not get the response, but when I click for the second time I get the response twice. That means the first command sent properly.

2. I would like to use or understand the use of:
* WaitFor method
* Prompt property
* PromptReceivedEvent
To be used in this scenario:
------------:
The More Button is disabled by default. So when the prompt --More-- received from the server, the More Button should go enabled.

Thanks


Complete thread: