[Coco] RS232 Pack buffer flow control
phil pt
ptaylor2446 at gmail.com
Thu Apr 23 11:32:32 EDT 2020
I think vcc is running in virtual environment buffer control can be done
using the old rs232 pack and vcc.
Microsoft Winsock Control Lib -->
https://docs.microsoft.com/en-us/windows/win32/winsock/getting-started-with-winsock
Microsoft timer events -->
https://docs.microsoft.com/en-us/visualstudio/ide/step-6-add-a-timer?view=vs-2019
<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>
On Thu, Apr 23, 2020 at 10:53 AM Gene Heskett <gheskett at shentel.net> wrote:
> 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>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
More information about the Coco
mailing list