EldoS | Feel safer!

Software components for data protection, secure storage and transfer

When to close the socket after SSL shutdown

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
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 (EldoS Corp.)

Thank you for contacting us.

You can call socket close right after SecureServer.Close.



Topic viewed 435 times

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


Back to top

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

Got it!