This project is read-only.

Unhandled SocketException in SocketExtension.ReceiveCallback


A SocketException is thrown in SocketExtension.ReceiveCallback. This probably occurs when a browser process with a ws-connection to the Nugget is killed. The Exception is possibly thrown by the call that was made on Socket.EndReceive(ar); See for details. Below the stacktrace of the application that uses Nugget:

Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
at Nugget.SocketExtension.ReceiveCallback(System.IAsyncResult)
at System.Net.LazyAsyncResult.Complete(IntPtr)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Net.ContextAwareResult.Complete(IntPtr)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)


Zimmer wrote Feb 5, 2011 at 11:07 PM

I too get this Exception. It works fine when I have around 10 to 15 iPads connected, but when I connect about 50, I keep getting this exception. I need to try dig deeper as to why this is happening.