Advertisement

09.08.2008 at 02:31AM PDT, ID: 23711444
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Need help with SocketException

Asked by philipjonathan in TCP/IP, .NET, C# Programming Language

Tags: ,

Hi all,

I have an application that runs a TcpListener to accept incoming TCP connection, and use TcpClient and NetworkStream to deal with the incoming connection. The TCP connection is maintained by both party for a long time.

This system has run for 4 months now without issue. When today out of the blue I receive SocketException for unknown reason. The message is:

System.IO.IOException: Unable to write data to the transport connection. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine

Does anybody know how to interpret that? Or any pointer where I should start searching?

I'm inclined not to blame the application, because I have 2 instances of that app running, and the other is running fine. On the other hand, I'm not inclined to blame the underlying connection also, for exactly the same reason. The 2 instances accepts TCP connections over the same leased line network. Is it possible that it's the Win OS playing up?

Btw, it's .NET 1.1 on Windows Server 2003Start Free Trial
[+][-]09.08.2008 at 07:20AM PDT, ID: 22417596

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09.08.2008 at 07:50AM PDT, ID: 22417925

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.09.2008 at 07:37PM PDT, ID: 22434247

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: TCP/IP, .NET, C# Programming Language
Tags: .NET, C#, TcpClient, TcpListener, NetworkStream, Socket
Sign Up Now!
Solution Provided By: philipjonathan
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628