<?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 for NetHorus Blog</title>
	<atom:link href="http://blog.nethorus.org/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.nethorus.org</link>
	<description>NetHorus is an Open Source NMS</description>
	<lastBuildDate>Thu, 15 Jul 2010 02:22:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>Comment on IPAddr -&gt; IP by Sam Crooks</title>
		<link>http://blog.nethorus.org/?p=59&#038;cpage=1#comment-342</link>
		<dc:creator>Sam Crooks</dc:creator>
		<pubDate>Thu, 15 Jul 2010 02:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nethorus.org/?p=59#comment-342</guid>
		<description>Google has a really good python ipaddr manipulation library for routes and networks, IPv4, IPv6, masks, etc... could you leverage that?  or port it to Ruby?  maybe a wrapper for it in Ruby?</description>
		<content:encoded><![CDATA[<p>Google has a really good python ipaddr manipulation library for routes and networks, IPv4, IPv6, masks, etc&#8230; could you leverage that?  or port it to Ruby?  maybe a wrapper for it in Ruby?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IPAddr -&gt; IP by Brian Candler</title>
		<link>http://blog.nethorus.org/?p=59&#038;cpage=1#comment-287</link>
		<dc:creator>Brian Candler</dc:creator>
		<pubDate>Sun, 14 Feb 2010 18:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nethorus.org/?p=59#comment-287</guid>
		<description>Thanks Peter. I must point out that ruby-ip is *not* API-compatible with IPAddr, but it&#039;s mostly similar.

IPAddr.new(&quot;1.2.3.4&quot;) --&gt; IP.new(&quot;1.2.3.4&quot;)

IPAddr.new(16909060, Socket::AF_INET) --&gt; IP::V4.new(16909060)

There are important semantic differences when dealing with prefixes though.

IPAddr.new(&quot;1.2.3.4/24&quot;).to_s #=&gt; &quot;1.2.3.0&quot;

IP.new(&quot;1.2.3.4/24&quot;).to_s #=&gt; &quot;1.2.3.4/24&quot;</description>
		<content:encoded><![CDATA[<p>Thanks Peter. I must point out that ruby-ip is *not* API-compatible with IPAddr, but it&#8217;s mostly similar.</p>
<p>IPAddr.new(&#8220;1.2.3.4&#8243;) &#8211;&gt; IP.new(&#8220;1.2.3.4&#8243;)</p>
<p>IPAddr.new(16909060, Socket::AF_INET) &#8211;&gt; IP::V4.new(16909060)</p>
<p>There are important semantic differences when dealing with prefixes though.</p>
<p>IPAddr.new(&#8220;1.2.3.4/24&#8243;).to_s #=&gt; &#8220;1.2.3.0&#8243;</p>
<p>IP.new(&#8220;1.2.3.4/24&#8243;).to_s #=&gt; &#8220;1.2.3.4/24&#8243;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
