Ethereal-dev: Re: [Ethereal-dev] [Patch] packet-tcp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Bill Meier" <wmeier@xxxxxxxxxxx>
Date: Fri, 23 Dec 2005 07:53:39 -0500
> Should the window setting be displayed even if ACK isn't set? 
> Obviously the ack shouldn't be - to quote RFC 793:
> 
>  Acknowledgment Number:  32 bits
>
>
>    If the ACK control bit is set this field contains the value of the
>    next sequence number the sender of the segment is expecting to
>    receive.  Once a connection is established this is always sent.
>
>
> (and if ACK isn't set, the field's contents are meaningless), 
> but 793 doesn't say anything about the window value 
> being valid only if ACK is set.

(Uh, actually....) 

>From RFC 793:

Window:  16 bits

    The number of data octets beginning with the one indicated in the
    acknowledgment field which the sender of this segment is willing to
    accept.