An operation was attempted on a nonexistent network connecti

Mar 8 2013 12:22 AM
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