- Posts: 1
- Thank you received: 0
TCP 3-way and 4-way handshake
- dizzy-devil
- Offline
- New Member
Less
More
16 years 7 months ago #26041
by dizzy-devil
Replied by dizzy-devil on topic Re: TCP 3-way and 4-way handshake
The reason is that TCP supports half-closed connections.
If A decides it has finished it will send a FIN to B. But B might still have data to send. If it has it will ACK the FIN but won't send a FIN until it has actually finished. Otherwise it may actually send a combined FIN+ACK (not sure if all stacks do this but some definitely do). Finally, A will send an ACK to B.
If A decides it has finished it will send a FIN to B. But B might still have data to send. If it has it will ACK the FIN but won't send a FIN until it has actually finished. Otherwise it may actually send a combined FIN+ACK (not sure if all stacks do this but some definitely do). Finally, A will send an ACK to B.
Time to create page: 0.114 seconds