06-03-2021 06:40 AM - edited 06-03-2021 06:40 AM
Hi Team,
Let's assume we have a client and server talking to each other.
Scenario 1. The client sends a "RESET" message to the server. But the server has some data to be transferred to the client.
Does server accept "RESET" from the client and proceed with connection termination(4 way) or does it ignore the "RESET" and keep sending data?
Scenario 2: The Server sends a "RESET" message to the client. But the client has some data to be transferred to the server.
Does the client accept "RESET" from the client and proceed with connection termination(4 way) or does it ignore the "RESET" and keep sending data?
Thank you.
Solved! Go to Solution.
06-03-2021 08:53 AM
Hello @ranga2002 ,
as far as I know TCP requests to close a TCP connection are honored regardless of host role ( client or server) or to the fact that one side still have some data to be sent.
At application level the device that needs to send the remaining data can open a new TCP session with the purpose to send that data.
Hope to help
Giuseppe
06-03-2021 08:53 AM
Hello @ranga2002 ,
as far as I know TCP requests to close a TCP connection are honored regardless of host role ( client or server) or to the fact that one side still have some data to be sent.
At application level the device that needs to send the remaining data can open a new TCP session with the purpose to send that data.
Hope to help
Giuseppe
06-03-2021 10:28 AM
I believe that @Giuseppe Larosa is quite right. +5 The tcp reset is a way of signaling "I can no longer process - terminate immediately". It would be counterproductive for the peer device to continue to transmit. If there is more data to be sent then beginning a new tcp session is the appropriate thing to do.
06-03-2021 03:14 PM
Thank you Richard & Giuseppe.
06-03-2021 05:43 PM
You are quite welcome. This community is an excellent place to ask questions and to learn about networking. I hope to see you continue to be active in the community.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide