[freenet-dev] Packet size proposal
Matthew Toseland
toad at amphibian.dyndns.org
Mon Mar 10 22:45:53 UTC 2008
On Monday 10 March 2008 22:21, Michael Rogers wrote:
> 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.
Unfortunately we have no choice because of the braindead way the internet has
evolved in recent years.
>
> > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20080310/6504b26c/attachment.pgp
More information about the Devl
mailing list