Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winsock
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01288289
Message ID:
01289364
Views:
21
But wouldn't it stop at 2)?
It will see chr(13) and start processing while it should be waiting for 3). Am I wrong here?


>Not exactly. Look at your example again with the understanding that your EOT is CHR(13). What you want to do is keep buffering until the stream stops and you get that last EOT character. If the user is fast enough to do 3 scans, that's fine. You might get the following
>1) 123
>2) 4CHR(13)5678CHR(13)12
>3) 34CHR(13)
>
>In this case, your program would continue to buffer until it saw the last character of EOT, it when then look at the entire contents of the buffer and determine that there are (3) separate messages that it needs act on.
>
>Make sense?
>
>-m@
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform