The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
30 views
What is the minimum and maximum number of packets required to be exchanged for connection establishment, data transfer and connection termination in a TCP 3 way handshake?
asked in Computer Networks by Junior (653 points) | 30 views
0
Conn Estab : MIN - 2 (SYN, SYN-ACK), MAX - 3 (SYN, SYN-ACK, ACK).

Conn Term : MIN - 3 (FIN, ACK, FIN), MAX - 4 (FIN, ACK, FIN, ACK)
0
FOR DATA CONNECTION FIRST  SENDER NEED TO SEND SYN PACKET THEN SENDER SENDS  ACK  AND CONNECTION IS ESTABLISHED FOR SENDER NOT FOR SERVER SO MINIMUM IS TWO PACKETS.

AND MAXIMUM IS 3 PACKECTS WHEN CONNECTION IS ESTABLISHED  FROM BOTH ENDS 1)SYN FROM SENDER

2)ACK +SYN FROM SERVER

3)ACK FROM SENDER
0

in connection termination, why cant server they send <ACK+FIN> in one packet as it does in Connection Establishment ?

0
BECAUSE SERVER WAITS TO DIE OFF ALL THE PACKESTS
0
here in termination FIN1, FIN2 both also possible

right?
0
THE STORY IS LIKE THIS FIRST SENDER SENDS FIN SEGMENT THEN SERVER RECEIVES IT AND RECEIVER GET KNOW THAT SENDER WANTS TO CLOSE SO HE SENDS ACK BUT THERE IS STILL SOME DATA TO SENT LEFT SO HE WAITS TO SEND THEM ALL SO DONT SEND FYN WITH ACK THATS WHYS SEPARATE FYN IS FROM SENDER

Please log in or register to answer this question.



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

39,512 questions
46,664 answers
139,704 comments
57,481 users