how to resolve "Error : socket - Connection reset by peer. Error code : 10054.”

HI Team,

I was creating a POC for my project with loadrunner tiral version to know whether loadrunner can support our application for performance testing. My application is a windows based application which is working with TCP/IP protocols. Hence  I have created windows socket project to record the applications flows and I was able to record them. But when I try to replay the recorded script, I was getting different issue. One major issue which we got is "Error : Socket - Connection Reset by peer. error code : 10054"

Sometimes Replay in the script in VUGEN getting passed, but while executing in the controller throwing same error.

Could anyone can suggest me how to resolve this issue? What is exact reason for this issue?