I need to send packets from one host to another over a potentially lossy network. In order to minimize packet latency, I\'m not considering TCP/IP. But, I w
The best way to find the ideal datagram size is to do exactly what TCP itself does to find the ideal packet size: Path MTU discovery.
TCP also has a widely used option where both sides tell the other what their MSS (basically, MTU minus headers) is.