A bit of background.
I'm writing an application that uses UDP. The application will run on a LAN (not internet). I've been assuming that if my MTU is 1500 then thats how big a UDP payload can be, but I'm not sure if the UDP header is meant to fit within that too.
I'm suspecting that if I send a UDP packet with a 1500 byte payload and the machine MTU is 1500 bytes will it end up sending two packets?
Searching the internet for a clear answer here seems harder than it should be, I've seen conflicting information.