<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Internetverbindung prüfen]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es eine Möglichkeit zu überprüfen ob eine Internetverbindung aktiv ist, z.B. einen Funktionsaufruf oder ähnliches? Oder erhält man von Windows eine Message sobald eine Verbindung hergestellt oder getrennt wurde?</p>
<p>Gruß,<br />
Michel</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/55888/internetverbindung-prüfen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 02 Jun 2026 02:45:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/55888.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Nov 2003 10:33:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Internetverbindung prüfen on Thu, 20 Nov 2003 10:33:22 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es eine Möglichkeit zu überprüfen ob eine Internetverbindung aktiv ist, z.B. einen Funktionsaufruf oder ähnliches? Oder erhält man von Windows eine Message sobald eine Verbindung hergestellt oder getrennt wurde?</p>
<p>Gruß,<br />
Michel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/398592</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/398592</guid><dc:creator><![CDATA[Der Michel]]></dc:creator><pubDate>Thu, 20 Nov 2003 10:33:22 GMT</pubDate></item><item><title><![CDATA[Reply to Internetverbindung prüfen on Thu, 20 Nov 2003 11:11:38 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">bool bLAN        = false; 
	bool bMODEM      = false;
	bool bMODEM_BUSY = false;
	bool bPROXY      = false;

	BOOL bConnectInternet = InternetGetConnectedState(&amp;ulInternetStatus,0);

	/////////////////////////////////////////////
	// Wenn Internetverbindung vorhanden dann die
	// Flags überprüfen
	/////////////////////////////////////////////
	if(bConnectInternet)
	{

		if(INTERNET_CONNECTION_LAN == (ulInternetStatus &amp; INTERNET_CONNECTION_LAN))
			bLAN = true;

		if(INTERNET_CONNECTION_MODEM == (ulInternetStatus &amp; INTERNET_CONNECTION_MODEM))
			bMODEM = true;

		if(INTERNET_CONNECTION_MODEM_BUSY == (ulInternetStatus &amp; INTERNET_CONNECTION_MODEM_BUSY))
			bMODEM_BUSY = true;

		if(INTERNET_CONNECTION_PROXY == (ulInternetStatus &amp; INTERNET_CONNECTION_PROXY))
			bPROXY = true;

	}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/398630</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/398630</guid><dc:creator><![CDATA[T2000]]></dc:creator><pubDate>Thu, 20 Nov 2003 11:11:38 GMT</pubDate></item><item><title><![CDATA[Reply to Internetverbindung prüfen on Thu, 20 Nov 2003 11:25:18 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">bool check = InternetGetConnectedState(NULL,NULL); 
if(check == true)
{
	//Online
}
else
{
	//Offline
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/398646</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/398646</guid><dc:creator><![CDATA[C-O-M-M-A-N-D-E-R]]></dc:creator><pubDate>Thu, 20 Nov 2003 11:25:18 GMT</pubDate></item><item><title><![CDATA[Reply to Internetverbindung prüfen on Thu, 20 Nov 2003 11:57:57 GMT]]></title><description><![CDATA[<p>Alles klar, besten Dank <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /></p>
<p>Gruß,<br />
Michel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/398686</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/398686</guid><dc:creator><![CDATA[Der Michel]]></dc:creator><pubDate>Thu, 20 Nov 2003 11:57:57 GMT</pubDate></item></channel></rss>