Re: DataReady not returning enough - WeOnlyDo Discussion board

Re: DataReady not returning enough (General questions)

by wodSupport, Thursday, August 26, 2010, 21:31 (5201 days ago) @ wodSupport

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: