Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32759

An operation was attempted on a nonexistent network connecti

$
0
0
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

Viewing all articles
Browse latest Browse all 32759

Trending Articles