Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
RSET is not a flag, RST is. Abort/close is inteded but written is 'about close'. And also a question should not have a mention of the word 'question' according to serverfault title guidelines.
Source Link

General question regarding the use Use of TCP FIN and TCP RSETRST

I've been reading about the TCP protocol recently because I was a little curious about how and why certain flags were used.

In the information I found it talks about a normal close TCP FIN should be used to close a connection but then it also talks about TCP RSETRST can be used for an abortive close on an active connection.

My question is, why would one use a RSETRST to about closeabort/close an active connection over using TCP FIN?

(referringReferring to an active connection as a connection where both endpoints sent and received data after the standard 3 way handshackhandshake. I know a RSETRST can be used by the server when a client sends SYN for a server port that is not listening)

General question regarding the use of TCP FIN and TCP RSET

I've been reading about the TCP protocol recently because I was a little curious about how and why certain flags were used.

In the information I found it talks about a normal close TCP FIN should be used to close a connection but then it also talks about TCP RSET can be used for an abortive close on an active connection.

My question is, why would one use a RSET to about close an active connection over using TCP FIN?

(referring to an active connection as a connection where both endpoints sent and received data after the standard 3 way handshack. I know a RSET can be used by the server when a client sends SYN for a server port that is not listening)

Use of TCP FIN and TCP RST

I've been reading about the TCP protocol recently because I was a little curious about how and why certain flags were used.

In the information I found it talks about a normal close TCP FIN should be used to close a connection but then it also talks about TCP RST can be used for an abortive close on an active connection.

My question is, why would one use a RST to abort/close an active connection over using TCP FIN?

(Referring to an active connection as a connection where both endpoints sent and received data after the standard 3 way handshake. I know a RST can be used by the server when a client sends SYN for a server port that is not listening)

edited tags
Link
Kyle Brandt
  • 85.9k
  • 77
  • 318
  • 463
Source Link
Phillip
  • 163
  • 1
  • 2
  • 7

General question regarding the use of TCP FIN and TCP RSET

I've been reading about the TCP protocol recently because I was a little curious about how and why certain flags were used.

In the information I found it talks about a normal close TCP FIN should be used to close a connection but then it also talks about TCP RSET can be used for an abortive close on an active connection.

My question is, why would one use a RSET to about close an active connection over using TCP FIN?

(referring to an active connection as a connection where both endpoints sent and received data after the standard 3 way handshack. I know a RSET can be used by the server when a client sends SYN for a server port that is not listening)