Subject: System.NotSupportedException
At System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
At System.Net.Security.SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
At agsXMPP.net.ClientSocket.Receive()
At agsXMPP.net.ClientSocket.EndReceive(IAsyncResult ar)
At System.Net.LazyAsyncResult.Complete(IntPtr userToken)
At System.Net.ContextAwareResult.CompleteCallback(Object state)
At System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
At System.Net.ContextAwareResult.Complete(IntPtr userToken)
At System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
At System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
At System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)</StackTrace><ExceptionString>System.NotSupportedException: When another read action is hang-up , the BeginRead cannot be used?
At System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
At System.Net.Security.SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
At agsXMPP.net.ClientSocket.Receive()
At agsXMPP.net.ClientSocket.EndReceive(IAsyncResult ar)
At System.Net.LazyAsyncResult.Complete(IntPtr userToken)
At System.Net.ContextAwareResult.CompleteCallback(Object state)
At System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
At System.Net.ContextAwareResult.Complete(IntPtr userToken)
At System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
At System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
At System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)</ExceptionString></Exception></TraceRecord>
At System.Net.Security.SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
At agsXMPP.net.ClientSocket.Receive()
At agsXMPP.net.ClientSocket.EndReceive(IAsyncResult ar)
At System.Net.LazyAsyncResult.Complete(IntPtr userToken)
At System.Net.ContextAwareResult.CompleteCallback(Object state)
At System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
At System.Net.ContextAwareResult.Complete(IntPtr userToken)
At System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
At System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
At System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)</StackTrace><ExceptionString>System.NotSupportedException: When another read action is hang-up , the BeginRead cannot be used?
At System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
At System.Net.Security.SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
At agsXMPP.net.ClientSocket.Receive()
At agsXMPP.net.ClientSocket.EndReceive(IAsyncResult ar)
At System.Net.LazyAsyncResult.Complete(IntPtr userToken)
At System.Net.ContextAwareResult.CompleteCallback(Object state)
At System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
At System.Net.ContextAwareResult.Complete(IntPtr userToken)
At System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
At System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
At System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)</ExceptionString></Exception></TraceRecord>