You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2023. It is now read-only.
I am not sure if this is still active but there is a problem with your receivebox function. If the data comes in too fast it leads to duplication and/or corruption of the data. It happens because your function does not have enough time to finish before new data is received (You try to capture the key.value pair as it comes in). Just run your server/client example a couple of times from a local machine and your will see it. Anyways, I fixed it by waiting for the stop bytes to come in before processing the data. You can see it at https://github.com/mmgrant73/AmpJS. Its a library I developed for the amp protocol. I tried to mimic how it is done in Python. If you have any question feel free to ask me. Thanks