Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 07:31:22 -0500 (CDT)
From:      Mark Tinguely <tinguely@casselton.net>
To:        hwh@gddsn.org.cn, questions@freebsd.org
Subject:   Re: Question about TCP packet.
Message-ID:  <200508301231.j7UCVM3w099928@casselton.net>
In-Reply-To: <431327BD.6030006@gddsn.org.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
<deleted background>
>  found that I received 2 ack packets when sent data to embedded device.
>  Does It mean one ack packet is not necessary and
>  the embedded device's tcp stack is broken?
>
>  thanks,
>  --hwh
>
>
>  16:58:08.448730 192.168.168.137.1693 > 211.96.21.220.9742: P 1:22(21) ack 1 win 65535 (DF)
>  16:58:08.450458 211.96.21.220.9742 > 192.168.168.137.1693: . ack 22 win 1439 (DF)
>  16:58:08.482349 211.96.21.220.9742 > 192.168.168.137.1693: . ack 22 win 1460 (DF)

The second ack is a window update. The recieving TCP stack is telling the
sender that the data has been consumed and more space is available for
incoming data.

If you increase your recieve buffer size on the "211.96.21.220" host,
you will not see these updates for interactive data.

--Mark Tinguely



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508301231.j7UCVM3w099928>