Hi Pardeep,
dont call me sir yaar,
i think u r diagram is wrong according to my knowledge
it is as follows
A---FIN----->B this is request to terminate the conn.
                from A to B
A<---ACK----B  acknowledge of request
A<---FIN----B  this is request to terminate the conn.
                from B to A
A----ACK--->B  acknowledge of request

now step 2 & step 3 can not combine this is because
when B send ACK to A for For some time data can be
flowing from B to A so it has to wait till data flow
is stop then after finishing sending DATA B can send
FIN to termininate conn.
see sometimes 2&3 can be combine in some situation.

this is why tearing connection is 4 way hand shaking.


in u r dia. i dont know why u have mention fin & ack
in step 3
also in step 1 also there can not be ack. 
see ack is acknowledge of request in step 1 A is 
sending request why it is sending ack.



--- Pardeep Sharma <[EMAIL PROTECTED]>
wrote:

> 
>   Hi sir thanx to u to describe me but sir i have a
> doubt in only Step3 is that as u told me HostA send
> FIN flag to HostB for terminate the connection and
> also send ACK to HostB for Acknowlegement of
> previous packet in STEP1.
>    So now HostB send ACK to HostA ,it means HostB
> teling to HostA is that i acknowledge ur FIN
> flag,now HostA cant send any data to HostB,but HostB
> can send data to HostA in Step2
>   But my problem arises now:-
>   In Step3 I think so HostB send only FIN flag to
> HostA Becoz HostB already acknowledge to HostA in
> previous step.
>   So i want to say m i right or wrong,i think i
> should be FIN only flag used in Step third
>   In step 4 HostA send  Ack for FIN flag of
> HostB,now HostB cant send data to HostB
>   In this way connection terminate on both sides.
>    
>   I waiting plz,reply me soon
>   Regards:
>   Pardeep 
> 
>                               
> ---------------------------------
>  Here's a new way to find what you're looking for -
> Yahoo! Answers 
> Send FREE SMS to your friend's mobile from Yahoo!
> Messenger Version 8. Get it NOW


Bye ,
  Take Care,
  Best Regards,
  Jitendra Chaudhari
  Jeetu(G2)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


***Archives:
http://groups.yahoo.com/group/linuxvadapav/messages

***Group Usage Guidelines (Please Read):
http://groups.yahoo.com/group/linuxvadapav/files/mailing_rules 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/linuxvadapav/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to