There are some flags in TCP. I already understand what other flag names come from, such as SYN stands for synchronization. I also know that FIN is used to close a connection. What I don't understand is what exactly FIN means. Is it an abbreviation like other flags? I just can't make sense of it.
Asked
Active
Viewed 2.2k times
4
-
I'm pretty sure FIN is just short for finish in everything I've ever studied :) – CharlesH Feb 16 '15 at 10:27
-
It's also French for 'end', which is probably how finish got into the English language in the first place. – Tetsujin Feb 16 '15 at 10:56
-
4@Tetsujin from Latin originally -- finish Middle English: from Old French feniss-, lengthened stem of fenir, from Latin finire, from finis ‘end.’ ;) – DavidPostill Feb 16 '15 at 14:25
1 Answers
6
Why is the FIN flag in TCP called FIN?
FIN is an abbreviation for "Finish"
In the normal case, each side terminates its end of the connection by sending a special message with the FIN (finish) bit set. This message, sometimes called a FIN, serves as a connection termination request to the other device, while also possibly carrying data like a regular segment. The device receiving the FIN responds with an acknowledgment to the FIN to indicate that it was received. The connection as a whole is not considered terminated until both sides have finished the shut down procedure by sending a FIN and receiving an ACK.
Source TCP Connection Termination :
DavidPostill
- 153,128
- 77
- 353
- 394