Re: Timeout Option (General questions)
Barry,
Something like this written in VBS should loop as long as there is data to receive:
a = something
While a <> ' iow while connected
a =
a = telnet.Receive
If a <> Then
resp = resp + a
Wscript.Echo resp
End If
Wend
As for other, you would have to parse the received contents, and decide what to do.
Unfortunately, I'm not familiar with WinBatch, and although it's similiar to VBS, I can't figure out how to use Events (VBS can, but with limited options).
Regards,
Damba
Complete thread:
- Timeout Option - bmclellan, 2007-08-28, 06:39
- Re: Timeout Option - wodDamir, 2007-08-28, 09:22
- Re: Timeout Option - bmclellan, 2007-08-28, 13:04
- Re: Timeout Option - wodDamir, 2007-08-28, 14:22
- Re: Timeout Option - bmclellan, 2007-08-28, 14:39
- Re: Timeout Option - wodDamir, 2007-08-28, 14:47
- Re: Timeout Option - bmclellan, 2007-08-28, 14:54
- Re: Timeout Option - wodDamir, 2007-08-28, 21:29
- Re: Timeout Option - bmclellan, 2007-09-11, 06:24
- Re: Timeout Option - wodDamir, 2007-08-28, 21:29
- Re: Timeout Option - bmclellan, 2007-08-28, 14:54
- Re: Timeout Option - wodDamir, 2007-08-28, 14:47
- Re: Timeout Option - bmclellan, 2007-08-28, 14:39
- Re: Timeout Option - wodDamir, 2007-08-28, 14:22
- Re: Timeout Option - bmclellan, 2007-08-28, 13:04
- Re: Timeout Option - wodDamir, 2007-08-28, 09:22