<?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: i p freely</title>
	<atom:link href="http://www.chrisbellini.com/2005/08/17/i-p-freely/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisbellini.com/2005/08/17/i-p-freely/</link>
	<description>test</description>
	<lastBuildDate>Sun, 08 Nov 2009 04:06:35 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Darkhorse</title>
		<link>http://www.chrisbellini.com/2005/08/17/i-p-freely/comment-page-1/#comment-90</link>
		<dc:creator>Darkhorse</dc:creator>
		<pubDate>Sat, 17 Dec 2005 15:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbellini.com/?p=399#comment-90</guid>
		<description>The reason they want you to know COBOL is because there are TONS of legacy apps waiting to be migrated to alternative technology right now...</description>
		<content:encoded><![CDATA[<p>The reason they want you to know COBOL is because there are TONS of legacy apps waiting to be migrated to alternative technology right now&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.chrisbellini.com/2005/08/17/i-p-freely/comment-page-1/#comment-88</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 13 Dec 2005 02:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbellini.com/?p=399#comment-88</guid>
		<description>Depending on your application&#039;s goals, you&#039;d need to create server and client components for your project.  System.Net.Sockets has everything that you need.  If both NAT routers have the same holes poked in them, let&#039;s say TCP 6299, then your server and client and components should do all communication over that port:

&lt;em&gt;server.cs&lt;/em&gt;
&lt;pre&gt;
&lt;code&gt;
// start the server
TcpListener objSrvr = new TcpListener(6299);
objSrvr.Start();
&lt;/code&gt;
&lt;/pre&gt;
&lt;em&gt;client.cs&lt;/em&gt;
&lt;pre&gt;
&lt;code&gt;
// connect to the server
try
{
    // use IP of the server computer here instead of localhost
    TcpClient objClnt = new TcpClient(&quot;127.0.0.1&quot;, 6299);
}
catch
{
    Console.WriteLine(&quot;Connection failed&quot;);
}
&lt;/code&gt;
&lt;/pre&gt;
If the ports aren&#039;t known beforehand, I suppose you could always have the client send a special hash to a range of ports that only the indended server will repspond to.  So when the client gets the expected response, it should store which port it was on - esentially, an ad-hoc port scanner.</description>
		<content:encoded><![CDATA[<p>Depending on your application&#8217;s goals, you&#8217;d need to create server and client components for your project.  System.Net.Sockets has everything that you need.  If both NAT routers have the same holes poked in them, let&#8217;s say TCP 6299, then your server and client and components should do all communication over that port:</p>
<p><em>server.cs</em></p>
<pre>
<code>
// start the server
TcpListener objSrvr = new TcpListener(6299);
objSrvr.Start();
</code>
</pre>
<p><em>client.cs</em></p>
<pre>
<code>
// connect to the server
try
{
    // use IP of the server computer here instead of localhost
    TcpClient objClnt = new TcpClient(&quot;127.0.0.1&quot;, 6299);
}
catch
{
    Console.WriteLine(&quot;Connection failed&quot;);
}
</code>
</pre>
<p>If the ports aren&#8217;t known beforehand, I suppose you could always have the client send a special hash to a range of ports that only the indended server will repspond to.  So when the client gets the expected response, it should store which port it was on &#8211; esentially, an ad-hoc port scanner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carmen</title>
		<link>http://www.chrisbellini.com/2005/08/17/i-p-freely/comment-page-1/#comment-87</link>
		<dc:creator>Carmen</dc:creator>
		<pubDate>Tue, 13 Dec 2005 01:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbellini.com/?p=399#comment-87</guid>
		<description>Any idea how you could create a socket connection between two computers behind NATs in C#???

Carmen</description>
		<content:encoded><![CDATA[<p>Any idea how you could create a socket connection between two computers behind NATs in C#???</p>
<p>Carmen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scorpion53061</title>
		<link>http://www.chrisbellini.com/2005/08/17/i-p-freely/comment-page-1/#comment-86</link>
		<dc:creator>scorpion53061</dc:creator>
		<pubDate>Thu, 08 Dec 2005 16:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbellini.com/?p=399#comment-86</guid>
		<description>COBOL. I never thought I would have to learn this. It was suppose to have died. Every where I go though they want hteir programmers to know this language.</description>
		<content:encoded><![CDATA[<p>COBOL. I never thought I would have to learn this. It was suppose to have died. Every where I go though they want hteir programmers to know this language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.chrisbellini.com/2005/08/17/i-p-freely/comment-page-1/#comment-85</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 08 Dec 2005 15:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbellini.com/?p=399#comment-85</guid>
		<description>Not at all.  Well, maybe the COBOL class will be a tad crazy ;)</description>
		<content:encoded><![CDATA[<p>Not at all.  Well, maybe the COBOL class will be a tad crazy <img src='http://www.chrisbellini.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scorpion53061</title>
		<link>http://www.chrisbellini.com/2005/08/17/i-p-freely/comment-page-1/#comment-84</link>
		<dc:creator>scorpion53061</dc:creator>
		<pubDate>Thu, 08 Dec 2005 15:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisbellini.com/?p=399#comment-84</guid>
		<description>well it is huge. 

I am starting school next semester. I enrolled in Java, C++ and COBOL. Do you think i am crazy? :)</description>
		<content:encoded><![CDATA[<p>well it is huge. </p>
<p>I am starting school next semester. I enrolled in Java, C++ and COBOL. Do you think i am crazy? <img src='http://www.chrisbellini.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
