EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Cipher renegotiation

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.
Posted: 09/03/2010 08:35:46
by Scott Radden (Basic support level)
Joined: 09/02/2010
Posts: 7

Thanks for your response.

The server sample does already have a loop:

while (connected)
if (sslServer.Poll(2 * 1000 * 1000, SelectMode.SelectRead) && connected)

-- code elided

Would SelectMode.SelectRead detect the handshake in the queue?
Posted: 09/03/2010 09:59:23
by Ken Ivanov (EldoS Corp.)

The purpose of that loop is accepting incoming connections (not reading/writing to established connections). The loop I was talking about should be implemented in the ServerResponseWriter.WriteServerResponse() method (the method itself should be renamed to something like RunServerLoop() to reflect those changes).
Posted: 09/06/2010 06:43:13
by Scott Radden (Basic support level)
Joined: 09/02/2010
Posts: 7

ServerResponseWriter.WriteServerResponse() method

My bad... added loop to continue receiving on the socket within the above method and the OnCiphersNegotiated event is now successfully raised.

Many thanks for all the posts i got on this.



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