Re: regarding TCP close

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Assuming simultaneous close, both ends would have gone to FIN_WAIT1.
>From this point, I am unable to understand when one end would send a
packet with both "FIN + ACK" set so that the other end would move from
FIN_WAIT1 to TIME_WAIT state.

Hope I am expressing it clearly.
~
Radha

On 8/4/08, Tej <bewith.tej@xxxxxxxxx> wrote:
> On 8/4/08, RadhaMohan Dhandapani <dradhamohan@xxxxxxxxx> wrote:
>> Hi,
>>
>> (Apologies if this is not the right list to post this query.)
>>
>> I have the following question (purely from an academic standpoint)
>> regarding the TCP state machine diagram (as is given in books authored
>> by Richard Stevens, Comer etc. ). There is a transition from the state
>> FIN_WAIT1 to the state TIME_WAIT upon receipt of a packet with both
>> FIN & ACK flags set.  In what scenario(s) will the other end send such
>> a packet ?
>
> it is the case of simultaeous Close.
>
> am I missing something?
>
>> [ I was trying to figure out the scenario from the 2.6 source code. I
>> was able to find the  code corresponding to the other two transitions
>> only viz "FIN_WAIT1 to FIN_WAIT2" and "FIN_WAIT1 to CLOSING"]
>
>>
>> Thanks for your reply.
>> ~
>> Regards,
>> Radha
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-net" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux