Hi,

On Sat, Apr 12, 2008 at 11:40 AM, Yazad Khambata <[EMAIL PROTECTED]> wrote:
> Too many typos in my previous message... sorry...
>
>
>  I Had to increase the delay() - sleep(1000) - to be safe, since at times it
>  gave a wrong output even when the command had executed successfully... Don't
>  you think using a separate read thread and using the wait-notify technique
>
> would be a better and more reliable method?

you are right, the command reading stuff needs improvement. would you
like to give it a try and send a patch? :-)
alternatively, a framework like MINA could be used, this would be
slightly more heavyweight.

  Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to