SSLStream and async write

A

Alexander Gnauck

Hello,

im using the new SSLStream class from the .NET framework version 2.0.
My stream is using async functions BeginRead and BeginWrite. When i send
2 packets in a row then i get following exception:

"The BeginWrite method cannot be called when another write operation is
pending"

Is there smth i do wrong? Shouldnt the stream itself take care about
pending packets and queue them?
I never had problems before with normal unencrypted sockets in my apps.

Thanx Alex

--
Alexander Gnauck

AG-Software
Haagstr. 12
74080 Heilbronn
Germany
http://www.ag-software.de
 

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

Similar Threads


Top