Skip to content
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

Received datagrams have zero byte added to front? #2

Open
adriancable opened this issue Feb 16, 2022 · 0 comments
Open

Received datagrams have zero byte added to front? #2

adriancable opened this issue Feb 16, 2022 · 0 comments

Comments

@adriancable
Copy link

adriancable commented Feb 16, 2022

Hi - I am using your example code (basically unchanged) together with https://googlechrome.github.io/samples/webtransport/client.html to connect and send a datagram. It works, but every message received by the server has a zero byte prefixed. For example, if I send a 5-byte datagram from the browser end ('HELLO'), the client apparently receives 6 bytes and your log prints:

ReceiveMessage:00 48 45 4c 4c 4f

Can you explain why this is happening? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant