<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Slow TcpClient Connection (sockets)</title>
	<atom:link href="http://schotime.net/blog/index.php/2008/05/27/slow-tcpclient-connection-sockets/feed/" rel="self" type="application/rss+xml" />
	<link>http://schotime.net/blog/index.php/2008/05/27/slow-tcpclient-connection-sockets/</link>
	<description>All Things .Net and Me</description>
	<lastBuildDate>Tue, 06 Jul 2010 04:32:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason Smith</title>
		<link>http://schotime.net/blog/index.php/2008/05/27/slow-tcpclient-connection-sockets/comment-page-1/#comment-227</link>
		<dc:creator>Jason Smith</dc:creator>
		<pubDate>Fri, 21 May 2010 14:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/index.php/2008/05/27/slow-tcpclient-connection-sockets/#comment-227</guid>
		<description>Using the TcpClient() constructor with no parameters works only with ipV4 which is why you are noticing this difference.

See here: http://msdn.microsoft.com/en-us/library/aa329755(v=VS.71).aspx</description>
		<content:encoded><![CDATA[<p>Using the TcpClient() constructor with no parameters works only with ipV4 which is why you are noticing this difference.</p>
<p>See here: <a href="http://msdn.microsoft.com/en-us/library/aa329755(v=VS.71).aspx" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/msdn.microsoft.com/en-us/library/aa329755_v=VS.71_.aspx?referer=');">http://msdn.microsoft.com/en-us/library/aa329755(v=VS.71).aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Duarte</title>
		<link>http://schotime.net/blog/index.php/2008/05/27/slow-tcpclient-connection-sockets/comment-page-1/#comment-194</link>
		<dc:creator>Pedro Duarte</dc:creator>
		<pubDate>Fri, 02 Oct 2009 15:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/index.php/2008/05/27/slow-tcpclient-connection-sockets/#comment-194</guid>
		<description>I had the same problem with Windows Vista and 7, and with this solution it works very fast.</description>
		<content:encoded><![CDATA[<p>I had the same problem with Windows Vista and 7, and with this solution it works very fast.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Schotime</title>
		<link>http://schotime.net/blog/index.php/2008/05/27/slow-tcpclient-connection-sockets/comment-page-1/#comment-20</link>
		<dc:creator>Schotime</dc:creator>
		<pubDate>Fri, 27 Jun 2008 02:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/index.php/2008/05/27/slow-tcpclient-connection-sockets/#comment-20</guid>
		<description>Mike,

This is also related to the slow response from firefox when running on localhost with vista.

The reason for it is because of the ipv6 protocol. In the hosts file of your pc under vista there is two entries for localhost. One for ipv6 and one for ipv4. I have now just commented out the ipv6 one with a # and everything is as fast as it should be now (&lt;4ms).

Its obviously taking 1 second to decide which protocol to use or gets confused. Something....whatever. haha. Least it works now.

Hope this helps everyone.
Thanks for the comments Mike.</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>This is also related to the slow response from firefox when running on localhost with vista.</p>
<p>The reason for it is because of the ipv6 protocol. In the hosts file of your pc under vista there is two entries for localhost. One for ipv6 and one for ipv4. I have now just commented out the ipv6 one with a # and everything is as fast as it should be now (&lt;4ms).</p>
<p>Its obviously taking 1 second to decide which protocol to use or gets confused. Something&#8230;.whatever. haha. Least it works now.</p>
<p>Hope this helps everyone.<br />
Thanks for the comments Mike.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Koss</title>
		<link>http://schotime.net/blog/index.php/2008/05/27/slow-tcpclient-connection-sockets/comment-page-1/#comment-19</link>
		<dc:creator>Mike Koss</dc:creator>
		<pubDate>Thu, 26 Jun 2008 21:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/index.php/2008/05/27/slow-tcpclient-connection-sockets/#comment-19</guid>
		<description>I found your post trying to debug a local Python web server I&#039;m running.  Requests were also taking about 1 second each, when they should be nearly instantaneous.

One change I made, connect to &quot;127.0.0.1&quot; insead of &quot;localhost&quot; -&gt; now everything is fast again!

Is Vista doing a DNS call (and timing out), before connecting to the local machine???</description>
		<content:encoded><![CDATA[<p>I found your post trying to debug a local Python web server I&#8217;m running.  Requests were also taking about 1 second each, when they should be nearly instantaneous.</p>
<p>One change I made, connect to &#8220;127.0.0.1&#8243; insead of &#8220;localhost&#8221; -&gt; now everything is fast again!</p>
<p>Is Vista doing a DNS call (and timing out), before connecting to the local machine???</p>
]]></content:encoded>
	</item>
</channel>
</rss>
