SslStream.ReadByte() blocks thread?
- by alex
I'm trying to write an Imap4 client.
For that I use a SslStream to Connect to the Server.
Everything's fine until I send the "Login" command.
When I try to get an Answer to it, SslStream.ReadByte() block the thread.
The result is that my programm crashes always.
Whats happening here??
Code:
if (ssl)
{
s = stream;
}
…