java - UDP multicast high % of packet loss -
i'm sending packets through multicast socket.
i'm using max pratical size packets, 65 507 bytes (65,535 − 8 byte udp header − 20 byte ip header).
however, results in 40-50% packet loss, if server , client in same computer.
after testing out values, noticed can 0% packet loss if packet size less 10 000 bytes.
why that? is limitation on laptop's network card? or problem udp itself?
i'm using max pratical size packets, 65 507 bytes
no aren't. 65,507 maximum theoretical size. sizes bigger impossible in ipv4.
the maximum practical size 534 or thereabouts, whatever required never fragmented. fragmentation occurs increase probability of datagram loss same factor number of resulting fragments, there nothing in udp recover lost fragments.
Comments
Post a Comment