Re: Timeout Option (General questions)

by wodDamir, (6462 days ago) @ bmclellan

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

locked

Complete thread: