TLS/SSL deferred handshake

  • Thread starter Thread starter Alexander Gnauck
  • Start date Start date
A

Alexander Gnauck

Sorry for cross posting. I posted this problem already in the MSDN
forums and microsoft.public.windowsce.app.development, but there are no
replies yet.

I am trying to add TLS to an application using deferred handshake like
described here:
http://msdn.microsoft.com/en-us/library/aa922192.aspx

After the handshake I always get the following error:
a blocking operation is currently executing

I am using asynchronous sockets only. This exception appears when I
start an async receive while an async send operation is in progress and
not completed yet.

I am using the .NET Compact Framework 3.5. Are there any restrictions
with SSL sockets on CF?

Thanks,
Alex
 
I had the same problem with ssl/tls on tcp socket
It doesn't matter of you use differed handshake or not: the problem is the
same.
The problem was solved by not using asynchronious methods begin/end.
It is just a mess. Probably, that was a problem to implement ssl support for
microsoft
Regards, Jamal
 
The problem was solved by not using asynchronious methods begin/end.
It is just a mess. Probably, that was a problem to implement ssl support for
microsoft

I am using only asynchronous operations, and still have this problem.

Alex
 
Back
Top