The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
56 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 (899 points) | 56 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.

Related questions



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

42,575 questions
48,566 answers
155,471 comments
63,594 users