Windows socket close(closesocket) function generates RST.
On linux when I call close function to close a tcp socket it goes through fin/ack from both client server and the socket gets closed.
But on windows winsock, whenever i call closesocket it always generates RST message.
I tried using shutdown call. It is generating FIN. But finally I have to call closesocket and it sends RST.
Is there a way to call closesocket to release socket resources without sending RST message.