EldoS | Feel safer!

Software components for data protection, secure storage and transfer

When to close the socket after SSL shutdown

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.
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.



Topic viewed 568 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!