<?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: INET_ATON &amp; INET_NTOA</title>
	<atom:link href="http://www.bajb.net/2008/12/inet_aton-inet_ntoa/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/</link>
	<description>Just Develop It</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:15:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Vector Thorn</title>
		<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/comment-page-1/#comment-311</link>
		<dc:creator>Vector Thorn</dc:creator>
		<pubDate>Tue, 22 Dec 2009 23:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=110#comment-311</guid>
		<description>Ok, i&#039;m sorry, one more post. I could not find anywhere that gave the MEANING of the acronym for this fucntion, but i believe that is stands for AddressTONumber and NumberTOAddress</description>
		<content:encoded><![CDATA[<p>Ok, i&#8217;m sorry, one more post. I could not find anywhere that gave the MEANING of the acronym for this fucntion, but i believe that is stands for AddressTONumber and NumberTOAddress</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vector Thorn</title>
		<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/comment-page-1/#comment-310</link>
		<dc:creator>Vector Thorn</dc:creator>
		<pubDate>Tue, 22 Dec 2009 23:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=110#comment-310</guid>
		<description>I&#039;m sorry i need to correct myself. Char (and varchar, if i remember) is (1*length)+1 bytes for Ascii, and (3*length)+1 bytes for UTF-8, sorry.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry i need to correct myself. Char (and varchar, if i remember) is (1*length)+1 bytes for Ascii, and (3*length)+1 bytes for UTF-8, sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vector Thorn</title>
		<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/comment-page-1/#comment-309</link>
		<dc:creator>Vector Thorn</dc:creator>
		<pubDate>Tue, 22 Dec 2009 23:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=110#comment-309</guid>
		<description>Correction to Josh Davis: you&#039;re close, but char(15) would still take 16 bytes. It still has to store the  terminator, because you can use that datatype to represent things that may just be CLOSE to the same length, for greater speed.

As for this post, this is a great function, and it really does decrease storage size and increase speed to store ips this way. I found this post while googling the MEANING of the name &quot;ATON&quot;. I&#039;m sure it stands for something, so i just got a wile hair to search it out.....

Also, the comment just above mine is spam. You should remove it.</description>
		<content:encoded><![CDATA[<p>Correction to Josh Davis: you&#8217;re close, but char(15) would still take 16 bytes. It still has to store the  terminator, because you can use that datatype to represent things that may just be CLOSE to the same length, for greater speed.</p>
<p>As for this post, this is a great function, and it really does decrease storage size and increase speed to store ips this way. I found this post while googling the MEANING of the name &#8220;ATON&#8221;. I&#8217;m sure it stands for something, so i just got a wile hair to search it out&#8230;..</p>
<p>Also, the comment just above mine is spam. You should remove it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EM</title>
		<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/comment-page-1/#comment-252</link>
		<dc:creator>EM</dc:creator>
		<pubDate>Mon, 05 Oct 2009 23:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=110#comment-252</guid>
		<description>To support Josh&#039;s comment:
An INT takes exactly 4 bytes, signed or unsigned.
CHAR(15) will take 15 bytes if on non-unicode charset (such as ascii or latin1), or 45 bytes if on utf8
VARCHAR(15) will take 16 bytes on charsets such as ascii or latin1.</description>
		<content:encoded><![CDATA[<p>To support Josh&#8217;s comment:<br />
An INT takes exactly 4 bytes, signed or unsigned.<br />
CHAR(15) will take 15 bytes if on non-unicode charset (such as ascii or latin1), or 45 bytes if on utf8<br />
VARCHAR(15) will take 16 bytes on charsets such as ascii or latin1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooke Bryan</title>
		<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/comment-page-1/#comment-70</link>
		<dc:creator>Brooke Bryan</dc:creator>
		<pubDate>Wed, 17 Dec 2008 09:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=110#comment-70</guid>
		<description>The data size values I placed on this post take into consideration the whole row size.  This data was taken from phpmyadmin&#039;s space data and row size.  I agree with your comments of an INT taking 4 bytes and a VARCHAR(15) taking 16 bytes, I will update the original post so this is made aware to other readers.  Thanks</description>
		<content:encoded><![CDATA[<p>The data size values I placed on this post take into consideration the whole row size.  This data was taken from phpmyadmin&#8217;s space data and row size.  I agree with your comments of an INT taking 4 bytes and a VARCHAR(15) taking 16 bytes, I will update the original post so this is made aware to other readers.  Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/comment-page-1/#comment-69</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 17 Dec 2008 09:23:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=110#comment-69</guid>
		<description>(whoops)
To correct myself:
VARCHAR(15) will take *up to* 16 bytes on charsets such as ascii or latin1.</description>
		<content:encoded><![CDATA[<p>(whoops)<br />
To correct myself:<br />
VARCHAR(15) will take *up to* 16 bytes on charsets such as ascii or latin1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/comment-page-1/#comment-68</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 17 Dec 2008 08:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=110#comment-68</guid>
		<description>To support Josh&#039;s comment:
An INT takes exactly 4 bytes, signed or unsigned.
CHAR(15) will take 15 bytes if on non-unicode charset (such as ascii or latin1), or 45 bytes if on utf8
VARCHAR(15) will take 16 bytes on charsets such as ascii or latin1.</description>
		<content:encoded><![CDATA[<p>To support Josh&#8217;s comment:<br />
An INT takes exactly 4 bytes, signed or unsigned.<br />
CHAR(15) will take 15 bytes if on non-unicode charset (such as ascii or latin1), or 45 bytes if on utf8<br />
VARCHAR(15) will take 16 bytes on charsets such as ascii or latin1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Davis</title>
		<link>http://www.bajb.net/2008/12/inet_aton-inet_ntoa/comment-page-1/#comment-66</link>
		<dc:creator>Josh Davis</dc:creator>
		<pubDate>Tue, 16 Dec 2008 10:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bajb.net/?p=110#comment-66</guid>
		<description>Small correction: as per MySQL&#039;s manual, an INT (UNSIGNED or not) takes 4 bytes, not 7.

Also, I&#039;m not sure about the other types. A VARCHAR(15) should take 16 bytes at most (0-15 bytes for the data plus 1 byte that represents the length of the string) and a CHAR(15) should take 15 bytes, assuming the character set encodes characters on a single byte.

http://dev.mysql.com/doc/refman/5.1/en/storage-requirements.html</description>
		<content:encoded><![CDATA[<p>Small correction: as per MySQL&#8217;s manual, an INT (UNSIGNED or not) takes 4 bytes, not 7.</p>
<p>Also, I&#8217;m not sure about the other types. A VARCHAR(15) should take 16 bytes at most (0-15 bytes for the data plus 1 byte that represents the length of the string) and a CHAR(15) should take 15 bytes, assuming the character set encodes characters on a single byte.</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/storage-requirements.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/storage-requirements.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

