2
Vote

Unhandled SocketException in SocketExtension.ReceiveCallback

description

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 http://msdn.microsoft.com/en-us/library/w7wtt64b.aspx 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
Stack:
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*)

comments

Zimmer wrote Feb 5, 2011 at 10: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.