<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Internet Detection</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Internet Detection]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 15:31:27 +0000</pubDate>
  <lastBuildDate>Wed, 01 Jul 2009 14:02:01 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14587</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Internet Detection : You might want to try GetAddrInfo()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50544&amp;title=internet-detection#50544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 01 July 2009 at 2:02pm<br /><br />You might want to try <a href="http://msdn.microsoft.com/en-us/library/ms738520%28VS.85%29.aspx" target="_blank"><b>GetAddrInfo()</b></a> for several known hosts. This willavoid connecting to anything but the DNS server(s). Unfortunately, ifthe DNS server is on a local network system, or all addresses are cached (there or on your local system) it might give back a validaddress even though outbound connections are down.<br><br>You might want to experiment with sending it invalid or reserved IPV4 addresses; these may force a connection to a real (external) DNS server, and the error returns may be different depending on the local system's (or local network's) actual connection to the internet. I haven't experimented with that.<br><br>]]>
   </description>
   <pubDate>Wed, 01 Jul 2009 14:02:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50544&amp;title=internet-detection#50544</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection :   tralfaz wrote:but what if Google.com...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50416&amp;title=internet-detection#50416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 28 June 2009 at 10:30am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by tralfaz" alt="Originally posted by tralfaz" style="vertical-align: text-bottom;" /> <strong>tralfaz wrote:</strong><br /><br />but what if Google.com goes away (just kidding, haha)<BR><BR>Nice and simple, I'll give it a shot. Thank you,&nbsp; Tra<BR></td></tr></table> <DIV></DIV><DIV>&nbsp;</DIV><DIV>Personally we check 3 main sites: Google, Microsoft and Yahoo to make sure ;)</DIV>]]>
   </description>
   <pubDate>Sun, 28 Jun 2009 10:30:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50416&amp;title=internet-detection#50416</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection : Hi  Sorry not had chance as...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50399&amp;title=internet-detection#50399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 27 June 2009 at 10:20am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>Sorry not had chance as been trying to fix white theme.&nbsp; However will definately try this on monday, thanks</DIV>]]>
   </description>
   <pubDate>Sat, 27 Jun 2009 10:20:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50399&amp;title=internet-detection#50399</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection : In my own software, I keep my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50339&amp;title=internet-detection#50339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 26 June 2009 at 6:30am<br /><br />In my own software, I keep my WINVER set to 0x500, but I don't perform any tests on Win2k. That is, it <EM>should</EM> work in Win2k, but <EM>no guarantees</EM>. I think it's fair enough.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Did you test the function in my previous post?</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 06:30:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50339&amp;title=internet-detection#50339</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection : How about this?  IsNetworkAlive(NETWORK_ALIVE_WAN)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50337&amp;title=internet-detection#50337</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 26 June 2009 at 5:45am<br /><br />How about this?<DIV>&nbsp;</DIV><DIV><A>IsNetworkAlive</A>(NETWORK_ALIVE_WAN)</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 05:45:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50337&amp;title=internet-detection#50337</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection : http://www.gershnik.com/faq/manage.asp#internet...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50332&amp;title=internet-detection#50332</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 26 June 2009 at 5:22am<br /><br /><a href="http://www.gershnik.com/faq/manage.asp#internet" target="_blank">http://www.gershnik.com/faq/manage.asp#internet</A>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 05:22:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50332&amp;title=internet-detection#50332</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection :   znakeeye wrote:  I believe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50326&amp;title=internet-detection#50326</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 26 June 2009 at 5:08am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br /><FONT size=2><FONT color=#030003> <DIV>I believe this is the right way of doing this:</DIV><DIV>InternetCheckConnection</FONT>(<strong>NULL</strong>, <FONT color=#030003><FONT color=#030003>FLAG_ICC_FORCE_CONNECTION</FONT></FONT>, 0);</DIV><DIV>&nbsp;</DIV><DIV>Who uses OS &lt; Win2k??</DIV></FONT></td></tr></table> <DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>We have also tried this method and it must have also failed in some circumstances.&nbsp; However yes I agree our applications require Windows 2000 (SP4+) and soon we will even drop Windows 2000 support.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 05:08:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50326&amp;title=internet-detection#50326</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection :  I believe this is the right...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50325&amp;title=internet-detection#50325</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 26 June 2009 at 5:05am<br /><br /><FONT size=2><FONT color=#030003><DIV>I believe this is the right way of doing this:</DIV><DIV>InternetCheckConnection</FONT>(<strong>NULL</strong>, <FONT color=#030003><FONT color=#030003>FLAG_ICC_FORCE_CONNECTION</FONT></FONT>, 0);</DIV><DIV>&nbsp;</DIV><DIV>Who uses OS &lt; Win2k??</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 05:05:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50325&amp;title=internet-detection#50325</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection :   znakeeye wrote:You&amp;#039;re...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50324&amp;title=internet-detection#50324</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 26 June 2009 at 5:04am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br />You're right. <DIV></DIV>"A return value of TRUE from InternetGetConnectedState indicates that at least one connection to the Internet is available. It does not guarantee that a connection to a specific host can be established." <DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Have to do some research here. It seems odd that such a simple task is that hard...</DIV></td></tr></table> <DIV></DIV><DIV>&nbsp;</DIV><DIV>Tell us about it, we had trouble finding a solution for a task that should have been very simple.&nbsp; Then we stumbled upon the method we use as above, which has worked perfectly but like you say we'd prefer a better solution.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 05:04:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50324&amp;title=internet-detection#50324</guid>
  </item> 
  <item>
   <title><![CDATA[Internet Detection :   znakeeye wrote:Also, you might...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50323&amp;title=internet-detection#50323</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 14587<br /><strong>Posted:</strong> 26 June 2009 at 5:02am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br />Also, you might want to check some firewall settings before firing up a homepage etc. If you don't, some users will block your application. I believe the best approach is to&nbsp;notify the user before connecting to the Internet the first time. <DIV>&nbsp;</DIV><DIV><a href="http://www.vedivi.com/support/blog/72-c&#111;nfigure-your-firewall-in-c.html" target="_blank">http://www.vedivi.com/support/blog/72-configure-your-firewall-in-c.html</A></DIV></td></tr></table> <DIV></DIV><DIV>&nbsp;</DIV><DIV>Cool we will add this to our range of software over the coming months as a great idea.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 05:02:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14587&amp;PID=50323&amp;title=internet-detection#50323</guid>
  </item> 
 </channel>
</rss>