Re: DataReady not returning enough (General questions)

by Jasmine, (5371 days ago) @ Jasmine

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

locked

Complete thread: