Back to product page

PromptReceived event


Fires when command prompt string is received.

Syntax

  • Basic
Private Sub object_PromptReceived ()

Remarks

If you set Prompt property before you initiated Connect method, then wodTelnetDLX will fire this event each time it received same string sequence as you defined in Prompt property. This is very handy event to decide WHEN to send new command, because you don't have to parse received data to determine if command output has finished or not.

Also, if Prompt property is set, you will never receive same string sequence when Receive method is called. This makes easy to examine command operation output.

Platforms

Windows