EldoS | Feel safer!

Software components for data protection, secure storage and transfer

When to close the socket after SSL shutdown

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#32144
Posted: 02/09/2015 13:10:16
by Michal Kreidl (Standard support level)
Joined: 11/21/2011
Posts: 4

I use SecureBlackbox SecureServer in windows service. The service is accepting secured connections from some devices. When the device is closing connection it starts SSL shutdown sequence and then closes its socket. Server side socket can detect this event (mostly) and I close it too. But sometimes also my server side need to close connection. I call SecureServer.Close method but then I don't know when to close the socket. Secure Server fires OnCloseConnection but it is seems to be too early.
#32145
Posted: 02/09/2015 23:38:34
by Vsevolod Ievgiienko (Team)

Thank you for contacting us.

You can call socket close right after SecureServer.Close.

Reply

Statistics

Topic viewed 533 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!