From: beware Date: Mon, 19 Jan 2009 11:59:02 +0000 (+0000) Subject: fix standard packet payload size for ipv6 X-Git-Url: http://www.lcore.org/git/lcore.git/commitdiff_plain/1e45a1f0bf2ab89879ac9855b76ddfed1c406c3f?ds=inline fix standard packet payload size for ipv6 git-svn-id: file:///svnroot/lcore/trunk@22 b1de8a11-f9be-4011-bde0-cc7ace90066a --- diff --git a/lcore.pas b/lcore.pas index da0fd66..99fbe98 100755 --- a/lcore.pas +++ b/lcore.pas @@ -35,7 +35,8 @@ interface const - packetbasesize = 1460; + {for IPv6 it is 1440: 1500 - IP header (40) - TCP/UDP header (20). for ipv4 it is 1460} + packetbasesize = 1440; receivebufsize=packetbasesize*8; var