Re: Buffer Size Command Hanging (General questions)
Mike,
Ok, let's sum this. Currently the problem that you have is that component doesn't automatically remove vbcrlf from buffer.
What don't you try doing Receive(2) if DataReady property is >0 (after WaitFor) in order to consume another 2 characters (\r\n), but you can ignore those (just not use them).
You can even use Peek method to do same as Receive, but just to check what those 2 characters are, since Peek doesn't remove buffer contents. If they are \r\n then call Receive.
Would that help?
Regards,
Damba
Complete thread:
- Buffer Size Command Hanging - mmorton, 2009-07-07, 14:32
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-07, 14:43
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 15:27
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-07, 15:44
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 17:30
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 17:41
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 17:56
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 18:15
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 18:21
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 18:49
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 18:53
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 20:08
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 20:53
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 21:23
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 22:04
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 00:31
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 10:28
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-08, 11:04
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 11:16
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-08, 11:29
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 11:33
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-08, 11:45
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 11:54
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-08, 12:03
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 12:54
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 13:13
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 13:17
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 13:21
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 13:24
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 13:28
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 13:35
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 14:04
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 14:57
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 15:10
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 14:57
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 14:04
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 13:35
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 13:28
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 13:24
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 13:21
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 13:17
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 13:13
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 12:54
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-08, 12:03
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 11:54
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-08, 11:45
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 11:33
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-08, 11:29
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 11:16
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-08, 11:04
- Re: Buffer Size Command Hanging - mmorton, 2009-07-08, 10:28
- Re: Buffer Size Command Hanging - wodSupport, 2009-07-08, 00:31
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 22:04
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 21:23
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 20:53
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 20:08
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 18:53
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 18:49
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 18:21
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 18:15
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 17:56
- Re: Buffer Size Command Hanging - woddrazen, 2009-07-07, 17:41
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 17:30
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-07, 15:44
- Re: Buffer Size Command Hanging - mmorton, 2009-07-07, 15:27
- Re: Buffer Size Command Hanging - wodDamir, 2009-07-07, 14:43