Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 19:27:01 -0700
From:      "Justin C. Walker" <justin@mac.com>
To:        net@FreeBSD.ORG
Subject:   Re: computing the Ack Seq. No.
Message-ID:  <1E71621C-C5F7-11D6-A7E3-00306544D642@mac.com>
In-Reply-To: <200209120213.g8C2DUZL032515@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wednesday, September 11, 2002, at 07:13 PM, John Polstra wrote:

> In article <5A3F3774-C5B2-11D6-A7E3-00306544D642@mac.com>,
> Justin C. Walker <justin@mac.com> wrote:
>>
>> On Wednesday, September 11, 2002, at 10:50 AM, John Polstra wrote:
>>
>>> In article <F6467yRLVbNDN4CxpAO000022f6@hotmail.com>,
>>> soheil h <soheil_h_y@hotmail.com> wrote:
>>>> hi list
>>>> I wrote the code below and it doesn't work correctly
>>>> please tell me what is wrong
[snip]
> I think that part is OK. "len" is the total packet length including
> the IP and TCP headers.  He takes that and subtracts out the lengths
> of the headers to get the number of bytes to ack (acklen).  That's
> correct: you ack only the payload, not the headers.

D'oh!  That's ti_, not th_!  Thanks.

Justin

--
/~\ The ASCII           Justin C. Walker, Curmudgeon-at-Large
\ / Ribbon Campaign
  X  Help cure HTML Email
/ \


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1E71621C-C5F7-11D6-A7E3-00306544D642>