Problem with cryptDestroySession in the server

View: New views
1 Messages — Rating Filter:   Alert me  

Problem with cryptDestroySession in the server

by Xglobo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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