<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Test for Internet Connection'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 12:01:38 GMT</pubDate>
<item>
<title>saviolan said on 5/31/12</title>
<link>http://snipplr.com/view/14928/test-for-internet-connection/</link>
<description><![CDATA[ source : http://net-informations.com/vbprj/communications/internet-connection.htm

	Private Declare Function InternetGetConnectedState Lib "wininet" (ByRef conn As Long, ByVal val As Long) As Boolean

	Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
		Dim Out As Integer
		If InternetGetConnectedState(Out, 0) = True Then
			MsgBox("Connected !")
		Else
			MsgBox("Not Connected !")
		End If
	End Sub ]]></description>
<pubDate>Thu, 31 May 2012 19:05:49 GMT</pubDate>
<guid>http://snipplr.com/view/14928/test-for-internet-connection/</guid>
</item>
<item>
<title>breakskater said on 8/28/10</title>
<link>http://snipplr.com/view/14928/test-for-internet-connection/</link>
<description><![CDATA[ HttpWebRequest takes to long to test the connection. If you are already accessing a web service, then it is easier and quicker to attempt to connect to the web service for an internet connectivity check.. ]]></description>
<pubDate>Sat, 28 Aug 2010 04:37:44 GMT</pubDate>
<guid>http://snipplr.com/view/14928/test-for-internet-connection/</guid>
</item>
</channel>
</rss>