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 has been archived by the owner on Apr 16, 2022. It is now read-only.
When communicating a lot of data per frame with a client using a native UDP socket, the following error gets logged:
bevy_networking_turbulence: Receive Error: IoError(Wrapped(Os { code: 10040, kind: Uncategorized, message: "A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself." }))
I think this is caused by the max combined packet size being set to 32768 here:
I assume this could be fixed by either exposing the option to set the max size, or setting it to the largest size supported by all built-in sockets (which I think is the mentioned 1472).
The text was updated successfully, but these errors were encountered:
When communicating a lot of data per frame with a client using a native UDP socket, the following error gets logged:
I think this is caused by the max combined packet size being set to
32768
here:bevy_networking_turbulence/src/lib.rs
Line 197 in 3a50a5b
While the receiving naia socket has a fixed buffer size of
1472
(which is close to the minimum reassembly buffer size for IPv6):https://github.com/naia-rs/naia-socket/blob/6dce8f628aee63997716f6317d9bebc4ddb18375/client/src/impls/native/packet_receiver.rs#L27
I assume this could be fixed by either exposing the option to set the max size, or setting it to the largest size supported by all built-in sockets (which I think is the mentioned
1472
).The text was updated successfully, but these errors were encountered: