I have a client server setup.
On the client PC, when the system goes to low power state, I have the code to issue a TDI disconnect request with the flag TDI_DISCONNECT_ABORT. But, I do not see a TCP reset going across to the server. So the server still shows the connection as established.
In normal case, when I close the connection on the client PC by issuing the same TDI disconnect request with the flag TDI_DISCONNECT_ABORT, I see a reset which goes across and the connection closes properly.
What do I need to do to close the connection before my PC Suspends?
Thanks.