<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Network Interface Detection</title>
	<link>http://delta.affinix.com/2006/01/29/network-interface-detection/</link>
	<description>Building an XMPP/Jabber Platform</description>
	<pubDate>Sat, 22 Nov 2008 05:43:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: James Chaldecott</title>
		<link>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-6</link>
		<dc:creator>James Chaldecott</dc:creator>
		<pubDate>Tue, 31 Jan 2006 14:29:48 +0000</pubDate>
		<guid>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-6</guid>
		<description>I posted the original Win32 patch (to Remko) for suspend/resume in cutestuff/SystemWatch. The intention was for Psi to disconnect &#38; reconnect on sleep/wakeup. 

For some reason the reconnect is commented out at the moment (and from at least the initial Darcs import).

void PsiCon::doSleep()
{
	setGlobalStatus(Status("",tr("Computer went to sleep"),0,false));
}

void PsiCon::doWakeup()
{
	// TODO: Restore the status from before the log out. Make it an (hidden) option for people with a bad wireless connection.
	//setGlobalStatus(Status());
}

BTW: I notice that "michalj" says he's porting SystemWatch to Qt4 and including network status detection. Will this conflict with/replicate what you're doing?

http://forum.psi-im.org/post/24770
http://forum.psi-im.org/post/24811</description>
		<content:encoded><![CDATA[<p>I posted the original Win32 patch (to Remko) for suspend/resume in cutestuff/SystemWatch. The intention was for Psi to disconnect &amp; reconnect on sleep/wakeup. </p>
<p>For some reason the reconnect is commented out at the moment (and from at least the initial Darcs import).</p>
<p>void PsiCon::doSleep()<br />
{<br />
	setGlobalStatus(Status(&#8221;",tr(&#8221;Computer went to sleep&#8221;),0,false));<br />
}</p>
<p>void PsiCon::doWakeup()<br />
{<br />
	// TODO: Restore the status from before the log out. Make it an (hidden) option for people with a bad wireless connection.<br />
	//setGlobalStatus(Status());<br />
}</p>
<p>BTW: I notice that &#8220;michalj&#8221; says he&#8217;s porting SystemWatch to Qt4 and including network status detection. Will this conflict with/replicate what you&#8217;re doing?</p>
<p><a href="http://forum.psi-im.org/post/24770" rel="nofollow">http://forum.psi-im.org/post/24770</a><br />
<a href="http://forum.psi-im.org/post/24811" rel="nofollow">http://forum.psi-im.org/post/24811</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justin</title>
		<link>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-5</link>
		<dc:creator>justin</dc:creator>
		<pubDate>Mon, 30 Jan 2006 22:16:25 +0000</pubDate>
		<guid>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-5</guid>
		<description>Norman: I think waking from suspend may be a separate issue, since I don't think the network interfaces actually go down/up during a suspend cycle (or it is OS dependent, at least).  Maybe it does go down on your system, and is not back up by the time Psi tries to use it.  You should look into it and report back.

James: thanks for the tip</description>
		<content:encoded><![CDATA[<p>Norman: I think waking from suspend may be a separate issue, since I don&#8217;t think the network interfaces actually go down/up during a suspend cycle (or it is OS dependent, at least).  Maybe it does go down on your system, and is not back up by the time Psi tries to use it.  You should look into it and report back.</p>
<p>James: thanks for the tip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Chaldecott</title>
		<link>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-4</link>
		<dc:creator>James Chaldecott</dc:creator>
		<pubDate>Mon, 30 Jan 2006 13:49:30 +0000</pubDate>
		<guid>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-4</guid>
		<description>A quick look with Reflector shows me that the interesting stuff happens in :

System.Net.NetworkInformation.NetworkChange::AddressChangeListener.StartHelper()</description>
		<content:encoded><![CDATA[<p>A quick look with Reflector shows me that the interesting stuff happens in :</p>
<p>System.Net.NetworkInformation.NetworkChange::AddressChangeListener.StartHelper()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Chaldecott</title>
		<link>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-3</link>
		<dc:creator>James Chaldecott</dc:creator>
		<pubDate>Mon, 30 Jan 2006 13:11:40 +0000</pubDate>
		<guid>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-3</guid>
		<description>Have you seen the System.Net.NetworkInformation.NetworkChange class in .NET 2.0? 

http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.networkchange.aspx

Could be a useful implementation reference (via Reflector).</description>
		<content:encoded><![CDATA[<p>Have you seen the System.Net.NetworkInformation.NetworkChange class in .NET 2.0? </p>
<p><a href="http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.networkchange.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.networkchange.aspx</a></p>
<p>Could be a useful implementation reference (via Reflector).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norman Rasmussen</title>
		<link>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-2</link>
		<dc:creator>Norman Rasmussen</dc:creator>
		<pubDate>Mon, 30 Jan 2006 10:10:25 +0000</pubDate>
		<guid>http://delta.affinix.com/2006/01/29/network-interface-detection/#comment-2</guid>
		<description>Does this mean that when you bring your pc out of hibernate that it'll try and login rather than looking at you funny?  (A least with pre-0.10, it tried to reconnect)</description>
		<content:encoded><![CDATA[<p>Does this mean that when you bring your pc out of hibernate that it&#8217;ll try and login rather than looking at you funny?  (A least with pre-0.10, it tried to reconnect)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
