I'm using SSH for the communication between a client (sending data continuously) and a server (receiving data)
If at any time of communication the client calls cryptDestroySession the server's function cryptPopData returned CRYPT_ERROR_COMPLETE. This is good.
But if the server calls cryptDestroySession the client function cryptPushData does not return any errors and continues sending data, while the server's session is destroyed.
How can I detect de server destroy session?
Regards