TLS/SSL deferred handshake

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
 
J

Jamal

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
 
A

Alex

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top