2014-07-28 04:29:24 UTC
Is there consensus regarding the maximum expected size of an OSC/UDP packet?
My concern is with providing a library that correctly inter-operates
with other implementations.
I had assumed that it was inappropriate to exceed the standard MTU
constraints (1500 bytes, although some sources I've recently found
suggest 512 bytes). Oscpack currently over-allocates its internal
receive buffer to 4096 bytes. However I have received requests to
increase buffering in oscpack to provide compatibility with code that
uses larger packet sizes. (see  for the current discussion).
I checked the "Best Practices" paper , but aside from mentioning
potential fragmentation, it is silent on the issue of an appropriate
maximum packet size.