-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting corrupted data in one end point #16
Comments
Thanks for bringing up this issue. I will be looking into it on Saturday. It's an insanely busy week for me. Cheers. |
I think there is a missing 'var' behind 'bools' on line 16 of Packet.js btw |
Hey Thanks brother |
Hey,
In this case, the server will stay desynced and send the ack for the sync packet. The client after seeing the ack for sync packet would continue sending data. Since the server is desynced, the server will ignore the incoming packets which make the system break! Fix: Cheers <3 |
I made the pull request. btw since I read the whole code I think I can write documentation for this library like what are the classes and what does each one do. |
Heyyy it's me again :D
So I have a new problem.
The thing is I encrypt my data before sending it to my client and the client has to decrypt the data obviously! So I add some data before the real data as a header and I validate the header on the client. So if I couldn't read the header correctly that means there is something wrong with the data.
which is happening when I'm using the library. Should I split the data before sending it? Is there something that I'm missing here?
How should I approach this problem?
How would the library react if packets received unordered?
Thanks <3
The text was updated successfully, but these errors were encountered: