Question An operation was attempted on a nonexistent network connection

mahesh

New member
Joined
Mar 7, 2013
Messages
1
Programming Experience
1-3
Hi
I am running server(in C#) that handles multiple requests by creating threads

while (true)
{
HttpListenerContext request = m_listener.GetContext();
ThreadPool.QueueUserWorkItem(ProcessRequest, request);
}

While runnning the Application i Found some exceptions Occationally

Exception 1: An operation was attempted on a nonexistent network connection

Exception 2: The I/O opertion has been aborted because thread exit or an Application request

how to resolve these Exceptions


regards,
mahesh
 
Back
Top Bottom