Comment by NooneAtAll3

7 hours ago

what is RST?

connection reset - TCP says "this connection is too messed up, abort, abort!"

The relevant condition here is where one side closed its socket but the other side didn't and keeps sending data to the closed socket. That's obviously an improper way to end a connection. A graceful shutdown does not send RST and ensures all data is received on both sides.