[Coco] RS232 Pack buffer flow control
Gene Heskett
gheskett at shentel.net
Thu Apr 23 10:53:08 EDT 2020
On Thursday 23 April 2020 10:43:38 phil pt wrote:
> 1. On the windows server or vcc set the ip address to listen to.
> 2. Set the timer intervals event
> 3. Call winsock to start listen to the incoming connections.
> 4. when a connection is accepted store the information in to a value.
> 5. Start the timer event
> 6. Check if any new data has been received.
> 7. Check with using peek to see if the rs232 pack buffer is full.
> 8. If the buffer is full then store in storage area on the server
> buffer.
>
> The event can be used to send/receive data also check the rs232 pack
> buffer. The timer event should be set to handle the full rs232 pack
> buffer control.
>
You are assuming the rs232pack has a buffer. Technically it does, its
one byte.
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_
>campaign=sig-email&utm_content=webmail&utm_term=icon> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_
>campaign=sig-email&utm_content=webmail&utm_term=link>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
More information about the Coco
mailing list