0
Answer

An operation was attempted on a nonexistent network connecti

mahesh parimi

mahesh parimi

11y
2.3k
1
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