3 ms·
Thankfully TCP/IP packets max out at 64K. Most old school formats have max size limits for good reasons, and the really good protocols allow the receiver to sp
by com2kid 4y ago
Thankfully TCP/IP packets max out at 64K.
Most old school formats have max size limits for good reasons, and the really good protocols allow the receiver to specify the maximum amount of data to send at a time!
Of course if your device has 256K of memory, reserving 64K for a max size TCP/IP packet is incredibly wasteful.
But if you can receive one of those packet at any time, realistically you need to have 64K available at any time so....
I'm not sure about newer stuff. Last time I did embedded things like Bluetooth were sectioned off into their own bit of memory, malloc was used, and it was a source of bugs that we weren't happy about.