Hard
A datagram bigger than the path MTU
A UDP application sends a single 3000-byte datagram over a standard Ethernet path with a 1500-byte MTU, with the IP 'Don't Fragment' (DF) bit not set. What happens at the IP layer, and what changes if DF were set instead?
main.cpp
char payload[3000];
sendto(sock, payload, sizeof(payload), 0,
(struct sockaddr*)&dest, sizeof(dest));13 of 45 in Networking