TlsSocket.BeginReceive problem

0 votes
asked Oct 26, 2011 by Remes (120 points)
edited Dec 4, 2013

Hi, I'm having a problem with async callback method of TlsSocket.BeginReceive never getting called? Synchronous Receive method works. I'm testing against library version 3.0.4086.0 (Rebex.SecureSocket, Rebex.ProxySocket and Rebex.Security). Here's my test application source:

link:(http://pastebin.com/06Z9mrQs/)

1 Answer

0 votes
answered Oct 26, 2011 by Lukas Pokorny (106,330 points)
edited Dec 4, 2013

Thanks for letting us know about this! We don't use the async variants of TlsSocket methods ourselves, which explains why no one noticed yet. I will mail you a link to a fixed version as soon as possible.

UPDATE

Fix for non-working TlsSocket.BeginSend and BeginReceive methods is included in Release 2012 R1.

commented Oct 31, 2011 by Lukas Pokorny (106,330 points)
edited Oct 31, 2011

I just sent a link to a current build to your e-mail. This will be a part of the next official release.

commented Sep 3, 2013 by SMI (150 points)
edited Sep 3, 2013

I am using Release 2012 R1 for .NET CF and I am encountering this same issue with BeginSend. When using Release 2012 R1 for .NET I do not have this problem. Was is fixed for .NET but not for .NET CF?

commented Sep 3, 2013 by Tomas Knopp (58,890 points)
edited Sep 3, 2013

Thank you for reporting! It looks like a bug in the BeginSend method on Compact Framework. We have been able to reproduce this issue and we are working on a solution.

commented Sep 4, 2013 by Tomas Knopp (58,890 points)
edited Dec 4, 2013

It turned out to be a bug in ProxySocket BeginSend/EndSend methods. The fix has been released as a part of Rebex components version 2013R3.

...