Re: Trapping for error and displaying receive buff - WeOnlyDo Discussion board

Re: Trapping for error and displaying receive buff (General questions)

by wodDamir, Friday, December 07, 2007, 15:32 (6197 days ago) @ Eric

Eric,

You are using blocking mode?

In non-blocking mode everything that is received is shown in DataReceived Event.

In blocking mode, you can simply ignore the error, and call Receive method. It will still give you the contents of the buffer.

As for the second question, try using regular expressions like regex:[$ #>] $ for Prompt property. Or, if you know the exact pattern, simply append it to received string.

Regards,
Damba


Complete thread: