c# socket "existing connection was forcibly closed..."

Started by
1 comment, last by RockySabre 16 years, 11 months ago
hey, i am developing a network c# application using TCP. I connect a socket and transfer data for a while. After a while the socket gives an exception in socket.Receive(...) method "existing connection was forcibly closed by remote host", and i am sure i didnt disconnect from the other side. I hope someone knows what this is.. thnx.
Advertisement
This sounds very similar to the 10054 error which is discussed in this thread.

In general, this means that the other end, or some Internet router in between, decided to reset the connection. Which ISP you're using might have as much to do with it as what the source and destination computers are doing.
enum Bool { True, False, FileNotFound };
So... is there something i can do to solve this problem instead of changing the ISP ?

This topic is closed to new replies.

Advertisement