Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 191169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:19:06+00:00 2026-05-11T16:19:06+00:00

C# 2008 I have developed a softphone application. However, I have to test for

  • 0

C# 2008

I have developed a softphone application.

However, I have to test for a constant internet connection.

I was thinking of having a function that runs in another thread that constantly pings a IP address. However, what IP address can I used to determine if my application is still connected to the Internet.

Many thanks,

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:19:06+00:00Added an answer on May 11, 2026 at 4:19 pm

    Do you just want to check if there is a network connection, or if the network actually goes out to the internet.

    In the first case, then do as it says in the “How do I check for an network connection question”. This will let you know if the cable gets pulled out of the back of your PC, but its won’t tell you if your modem or phone line is malfunctioning (for example)

    The second case is more complicated, as far as I know, there is no way to check this apart from constantly polling some IP address. In the simple case, you could just have a Timer ping some website every 30 seconds in a separate thread, and raise events when it decides the internet is down. Be aware that ICMP pings are not 100% reliable though, occasionally they will get dropped even if your connection is ok.

    If you really wanted to get complicated you could create a windows service raising these events, then multiple applications could hook in and consume the information, but thats a bit beyond my knowlage of windows programming though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

VS 2008 I have developed a device application that runs on windows mobile 5.
I developed a WinForms application (using C#, with visual studio 2008) and I have
I have a very simple windows Service that is developed in vb.net 2008. When
I have developed an application using VB.NET, Visual Studio 2008 and the SQL Server
I have developed a web application in Visual Studio 2008 and want to publish
I have developed an ASP.NET web application in visual studio 2008. I want to
I have developed an ASP.NET web application in Visual Studio 2008. I have an
I have developed a web application in asp.net in visual studio 2008. Its working
I am looking at globalizing an application that I have developed in asp.net mvc.
I have developed a asp.net application using Visual Studio 2008 and it was working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.