Re: internet connection

From: Cablewizard (Cablewizard_at_Yahoo.com)
Date: 08/02/04


Date: Mon, 2 Aug 2004 15:00:40 -0600

Since you mention Internet, I'm going to assume you are not talking about your
Network.
You might be able to get away with this pinging the Gateway, maybe not.
Depending upon your network infrastructure, it is entirely possible that your
gateway would be alive and well but not your external connection. So the more
reliable method would be to contact an external server.
However, you might need to know the specifics of the external connection as
well.
Many firewalls and/or routers will not respond to or pass along ICMP Ping
requests.
In addition, over a period of time the firewall might interpret the high volume
of pings to be a pre-cursor to a Denial Of Service attack and might stop
responding to your pings. Worst yet, it might add your IP to a blacklist.

Gerald

"Try Guy" <nospam@no.no> wrote in message
news:eaoN8CNeEHA.2812@tk2msftngp13.phx.gbl...
> You would have to Ping your Gateway at an intervall I guess.. and if that
> times out you could asume you are not connected anymore!
>
> So you have to find out how to ping.. and then just do that every minute or
> so with a Timer.
>
> /Try Guy
>
>
> "Fei" <fwang@NOSPAMcsystemssoftware.com> skrev i meddelandet
> news:%23aR0AuMeEHA.236@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I have a question about internet connection. I have my application
> > running in WindowsXP pro. How can I make my application raise a
> messagebox
> > when the internet connection goes down? Please help me out.
> >
> > Thanks !
> >
> > Fei
> >
> >
>
>



Relevant Pages

  • Re: Working LAN, but no client Internet -Again
    ... For symptoms that concern Internet connectivity, ... My laptops have always been able to make it out and ping everything on my ... I can get the network connection details and they are the ...
    (microsoft.public.windowsxp.network_web)
  • Re: Connecting Remote ofice with High Latency VSAT
    ... I think PC's can ping from site a to b. ... Internet based communications ... Site A uses a Cable/DSL connection to gain ... All users are given access to the internet through ISA server. ...
    (microsoft.public.windows.server.networking)
  • Re: Internet Gateway
    ... the network services for gateway, and all seems back to normal (well, I then ... connection', and this was the only connection that was ever enabled. ... However, today there has appeared another connection, under Internet ...
    (microsoft.public.windowsxp.network_web)
  • Re: Firewall/AV Question about WinXP Connection While Not Logged On
    ... because the gateway machine still has ZoneAlarm running as a service ... > an Internet Connection Sharing gateway for a small home network. ... > - Computer A's user logs off his account...but keeps the modem ...
    (comp.security.firewalls)
  • Re: ISA dropping Internet Gateway
    ... Gateway - Switch of Internal LAN - PCs inside LAN ... Limsy the noob ... ... router with internet connection) keeps dying. ...
    (microsoft.public.isa)