Re: Cable modem/router causes error 10054, "Connection was forcibly reset by remote host"

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Arkady Frenkel (arkadyf_at_hotmailxdotxcom)
Date: 01/18/05


Date: Tue, 18 Jan 2005 10:25:36 +0200

Are you sure that server app still opened and it's peer socket opened too.
Check that with netstat from dos box
Arkady

"Randolph Neall" <randolphneall@veracitycomputing.com> wrote in message
news:edFnGPR$EHA.1084@tk2msftngp13.phx.gbl...
> We have an application where we control both ends of a TCP connection,
with
> both server and client written in C#. Once sockets are created we expect
> them to remain alive for hours on end. We have success for all sites
except
> the one that uses a cable modem/router. What happens at this site is quite
> simple. If there is no activity on the socket for five minutes, the next
> time our application attempts to communicate over the socket, the socket
is
> discovered by our application to be invalid, and our application then
issues
> the reset exception 10054. We have examined Netmon logs and have found
that
> no resets are issued by our server or anything else visible on the wire.
The
> first sign of the problem in the logs is when our app tries to make
contact
> with our server, which fails after five send retries.
>
> And it happens not only with our server or our application. We found the
> same to be true with an FTP client accessing an FTP site totally unrelated
> to our server. After five minutes, the FTP client, like our application
> client, made five unsuccessful attempts to use its existing connection,
then
> successfully re-initialized a new connection.
>
> The cable connection itself does not die. In other words, the internet
> access remains uninterrupted. For that reason, attempts to re-establish
the
> connection (by initializing new sockets) always succeed. Our application
can
> always reconnect.
>
> The problem exists only when a router sits between the cable modem and the
> end user's machine. Without a router involved, that is, when the modem is
> connected directly to a single computer, the problem does not occur.
> Replacing the router with a different router, even a different brand of
> router, such as LinkSys does not help.
>
> Our application does not have this problem with clients using DSL, ISDN,
T1,
> or even dailup, or even when lots of packets are being lost. It's just
this
> one site using a cable ISP where the problem is.
>
> So here are my questions:
>
> 1. Does a cable modem know when it is dealing with a router rather than a
> user's computer and behave differently toward the one than the other?
>
> 2. Does the cable company central office router know when one of its
modems
> is dealing with a router (as opposed to a single computer) and behave
> differently if it is?
>
> 3. Have any of you ever experienced this?
>
> This is developing into something ugly between us, the cable company, and
> our client. The cable company blames us. They insist that their
connections
> never die and that nothing in their system would cause the behavior we are
> seeing. And they are threatening to bill us for all the time they spent
with
> this client prior to our intensive research and involvement this weekend.
> What they did not do was run Netmon or NetStat, as did we.
>
> Thanks for any help,
>
> Randy Neall
>
>
>
>



Relevant Pages

  • Re: Socket switch delay
    ... both at the client and at the server (and why ... would you set the send buffer size to zero on a non-overlapped ... One glaring error is your client does ... So when you use a single socket, ...
    (microsoft.public.win32.programmer.networks)
  • Re: IP-Adressen und Netzwerkfreigabe
    ... der andere mit einem Router. ... gestartet, keine Chance, ich komme nicht mehr auf den Server. ... Client und Server neu gestartet? ... Hardwaredefekt (Netzwerkkarte, Kabel, Port des Routers / Kabelmodems) ...
    (microsoft.public.de.german.windows.server.setup)
  • RE: VPN woes
    ... I was able connect to a VPN from the external side of the server of the ... the GRE packets were able to be received by the server from a client ... I can only assume that the router is the problem. ... I have spoken to Linksys and they say that the router should pass the GRE ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... just File and Printer Sharing and the Microsoft Client ... running the internet connection wizard, ... If neother SBS server nor client workstation had ... I wonder if I may have missed a firewall setting on the router as well. ...
    (microsoft.public.windows.server.sbs)
  • RE: VPNs in SBS2003 using ISA.
    ... Please temporarily place a client directly connected to the external NIC ... Server to a simple hub and connect the client to the same hub. ... we can make sure the issue is caused by the router. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)