Explain TCP connection establishment and tear down.

Showing Answers 1 - 7 of 7 Answers

vaisnave

  • May 21st, 2006
 

tcp connection is made as follows:

1)   sender and receiver synchronizes so that a connection is made. The OS in both the end are informed that a conenction is established.

2)   then sender starts transmitting data. it also gets acknowledgements. a timer is started as soon as the sender starts sending data.

3)   if the sender has not received any ack even after the timer exceeds it limit, then it retransmits data.

4)   in case of windowing,if the buffer on  the receiver is full, the receiver sends a stop signal to the sender. the sender stops transmitting data.

5)    then after processing all data, the receiver sends a go signal to the sender. then, the sender starts transmitting data again. this is in case of windowing.

  Was this answer useful?  Yes

Boti Curry

  • Jan 5th, 2007
 

I guess that this question is a TCP question so I will answer it in terms of TCP.
To establish a TCP session the sending and receiving TCP applications us a process called the three way handshake.
STEP 1 - The sender send a SYN packet to begin establishment of the session. It waits
STEP 2 - The receiver replies with an ACK packet to acknowledge the SYN that it received and also sends a SYN packet.
STEP 3 - The sender sends an ACK to acknowledge receipt of the SYN from the receiver.
The connection is now set up and data transfer can commence.
Now to terminate a connection you can do it the graceful way which is a four way process. Lets assume that the sender is finished with data transmission and now wants to end the session, similar to logging off an application.
STEP 1 - The sender sends a FIN packet and waits for a reply
STEP 2 - The receiver send and ACK packet
STEP 3 - The receiver also sends a FIN packet
STEP 4 - The sender sends an ACK packet and the session is closed.
You can also do an abrupt termination by just sending a RST packet from either sender or transmitter and the session ends abruptly. For example if you are using telnet CTRL-D will send a RST to close the session.
STEP 1 -

  Was this answer useful?  Yes

gunalan007

  • Aug 22nd, 2011
 

DNS(domain name system)its used to covert the host name in to ip address,and ip allocation means each of host name are allocate separate ip its used connect the server

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions