Hi,
We are working on the UCMA 4.0 based basic call application.
On each call recieved we are opening a thread that performs certain operations with the call.
Each thread opens a socket and listen for the data from client. We have used asynchronous operations such as
socket1.BeginAccept(new AsyncCallback(OnConnect), null); and EndAccept for socket programming.
When the calls get terminated we used socket1.Close() and socket1.Dispose() methods to dispose socket object.
Now when we load test the application for 96 simultaneous calls after 10 to 12 hours we observed the following exception in System's Event viewer for application
Exception Info: System.NullReferenceException
Stack:
at System.Net.Sockets.Socket.CompleteAcceptResults(System.Object)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Any help is appreciated.
Thanks
Omkar A. Lale