Re: DataReady not returning enough (General questions)
Bruce,
as you using blocking mode, or it is event driven?
If it's event driven, I would suggest you wait for Received event, read all received data and append to your inernal buffer.
Then check everything in the buffer, and look if your data is inside.
If it's blocking, then call Receive in the loop. It will wait for data to arrive, but wodSSH will not block (your app will since it will sit in Receive call).
Can you try that?
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