Re: DataReady not returning enough (General questions)
Bruce,
BTW this code (not sure if it's correct one or it's just pseudo)
do
{
lDataReady = ISSH.DataReady()
// first call returns 0
// second call returns 17
if(0 == lDataReady || lDataReady < sCommand.length())
lDataReady = 0
}
while(lDataReady == 0)
will not allow wodSSH to process anything, since you're looping in the same thread forever.
Kreso
Complete thread:
- DataReady not returning enough - bdowns, 2010-08-26, 18:00
- Re: DataReady not returning enough - wodDamir, 2010-08-26, 18:32
- Re: DataReady not returning enough - bdowns, 2010-08-26, 18:57
- Re: DataReady not returning enough - wodDamir, 2010-08-26, 21:27
- Re: DataReady not returning enough - wodSupport, 2010-08-26, 21:30
- Re: DataReady not returning enough - wodSupport, 2010-08-26, 21:31
- Re: DataReady not returning enough - bdowns, 2010-08-26, 22:53
- Re: DataReady not returning enough - bdowns, 2010-08-26, 22:55
- Re: DataReady not returning enough - wodSupport, 2010-08-26, 22:58
- Re: DataReady not returning enough - bdowns, 2010-08-26, 23:16
- Re: DataReady not returning enough - wodSupport, 2010-08-26, 23:18
- Re: DataReady not returning enough - bdowns, 2010-08-27, 21:26
- Re: DataReady not returning enough - wodDamir, 2010-08-28, 00:48
- Re: DataReady not returning enough - bdowns, 2010-08-27, 21:26
- Re: DataReady not returning enough - wodSupport, 2010-08-26, 23:18
- Re: DataReady not returning enough - bdowns, 2010-08-26, 23:16
- Re: DataReady not returning enough - wodSupport, 2010-08-26, 22:58
- Re: DataReady not returning enough - bdowns, 2010-08-26, 22:55
- Re: DataReady not returning enough - bdowns, 2010-08-26, 22:53
- Re: DataReady not returning enough - wodSupport, 2010-08-26, 21:31
- Re: DataReady not returning enough - wodSupport, 2010-08-26, 21:30
- Re: DataReady not returning enough - wodDamir, 2010-08-26, 21:27
- Re: DataReady not returning enough - bdowns, 2010-08-26, 18:57
- Re: DataReady not returning enough - wodDamir, 2010-08-26, 18:32