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

Sending a message larger than the max packet size is silently ignored #216

Open
gafferongames opened this issue Oct 14, 2024 · 2 comments
Open

Comments

@gafferongames
Copy link
Contributor

Recently had to debug this. It should at least warn that it's not possible to send the message, because it's too large to fit in a packet!

@jclc
Copy link

jclc commented Dec 10, 2024

I'm a bit confused, isn't this what packet fragmentation is for?

@gafferongames
Copy link
Contributor Author

Packet fragmentation splits up a packet into fragments. If any of the fragments packets are dropped, the whole large packet is dropped.

Sending a large data block through a reliable channel splits the block up into pieces too, but crucially it resends pieces until they are all received by the other side.

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

2 participants