Re: Question about connection and sending with wod (General questions)
Unfortunately I can't allow you to connect to our network switches due to our corporate policy and security measures to duplicate the error, Sorry. :(
As far as the async sends, I just use the PromptReceivedEvent right?
As of right now it works using sync and blocking = True, however when sending more than one command back to back I have to use the following command after each sent command:
system.threading.thread.sleep(x) x= amount of miliseconds, so usually its 150.
I really do not want to do that if I don't need to, but my other problem is my application threads can't move on until those sends and those receives are finished. So I am not sure how to use the async correctly for my scenario.
I was reading up the prompt event and I have a question, I have the initial prompt when I log in and start sending commands, but how does the prompt event work if you have the --More-- displayed because there is more data. i.e., I login into a switch issue the command sh port x/x then it displays the data, but there is more so instead of displaying the normal prompt it displays --More-- and you can either hit enter or space .
How do I adjust the prompt property to realize this, so I can issue a send command with enter or space.
Thanks!
Mike Helsel
Complete thread:
- Question about connection and sending with wodSSH. - Michael Helsel, 2007-05-25, 19:45
- Re: Question about connection and sending with wod - woddrazen, 2007-05-25, 20:10
- Re: Question about connection and sending with wod - woddrazen, 2007-05-25, 20:19
- Re: Question about connection and sending with wod - Michael Helsel, 2007-05-25, 20:40
- Re: Question about connection and sending with wod - wodSupport, 2007-05-25, 23:10
- Re: Question about connection and sending with wod - Michael Helsel, 2007-05-26, 14:33
- Re: Question about connection and sending with wod - wodDamir, 2007-05-26, 15:05
- Re: Question about connection and sending with wod - mhelsel, 2007-06-05, 18:34
- Re: Question about connection and sending with wod - wodDamir, 2007-05-26, 15:05
- Re: Question about connection and sending with wod - Michael Helsel, 2007-05-26, 14:33
- Re: Question about connection and sending with wod - wodSupport, 2007-05-25, 23:10
- Re: Question about connection and sending with wod - Michael Helsel, 2007-05-25, 20:40
- Re: Question about connection and sending with wod - woddrazen, 2007-05-25, 20:19
- Re: Question about connection and sending with wod - woddrazen, 2007-05-25, 20:10