[freenet-dev] Packet size proposal
Michael Rogers
m.rogers at cs.ucl.ac.uk
Mon Mar 10 22:21:02 UTC 2008
Matthew Toseland wrote:
> Only that it probably wouldn't have solved this specific problem. There is
> endless literature on TCP and I at least don't have time to keep up with it,
> and a wide range of implementations exist.
But that's my whole point - we shouldn't get involved in transport layer
design, we should just use what's out there.
> TCP does it the same way a zillion other protocols do, by sending packets with
> dont-fragment set. Which we can't do in java. Well maybe we can, but it means
> even more JNI code. Also, does it require root/raw sockets?
On Linux you can use setsockopt(), I'm not sure about other platforms.
Cheers,
Michael
More information about the Devl
mailing list