<?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: AF_UNIX sockets and the abstract namespace, inter-process communication.</title>
	<atom:link href="http://blog.eduardofleury.com/archives/2007/09/13/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.eduardofleury.com/archives/2007/09/13/</link>
	<description>Thoughts, shuffled...</description>
	<lastBuildDate>Mon, 05 Apr 2010 14:10:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: null terminated string</title>
		<link>http://blog.eduardofleury.com/archives/2007/09/13/comment-page-1/#comment-9769</link>
		<dc:creator>null terminated string</dc:creator>
		<pubDate>Tue, 16 Mar 2010 14:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.eduardofleury.com/archives/2007/09/13/#comment-9769</guid>
		<description>[...] it is termed as a continguous sequence of characters terminated by a NULL character ( &#039; ...eduardofleury.com AF_UNIX sockets and the abstract ...Eduardo Fleury&#039;s blog. Linux, OpenSource, Programming, IT and other misc stuff. Be welcome. ... [...]</description>
		<content:encoded><![CDATA[<p>[...] it is termed as a continguous sequence of characters terminated by a NULL character ( &#39; &#8230;eduardofleury.com AF_UNIX sockets and the abstract &#8230;Eduardo Fleury&#39;s blog. Linux, OpenSource, Programming, IT and other misc stuff. Be welcome. &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Laws</title>
		<link>http://blog.eduardofleury.com/archives/2007/09/13/comment-page-1/#comment-2135</link>
		<dc:creator>Chris Laws</dc:creator>
		<pubDate>Sat, 29 Nov 2008 01:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.eduardofleury.com/archives/2007/09/13/#comment-2135</guid>
		<description>Thanks for the informative article, it helped me solve a unix sockets problem I was having.</description>
		<content:encoded><![CDATA[<p>Thanks for the informative article, it helped me solve a unix sockets problem I was having.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent Oberle</title>
		<link>http://blog.eduardofleury.com/archives/2007/09/13/comment-page-1/#comment-1667</link>
		<dc:creator>Vincent Oberle</dc:creator>
		<pubDate>Thu, 25 Sep 2008 20:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.eduardofleury.com/archives/2007/09/13/#comment-1667</guid>
		<description>For the C implementation, it&#039;s a bit tricky to calculate the length of sockaddr_un. See:
http://lists.freedesktop.org/archives/dbus/2008-February/009303.html

Quoting:
connect (fd, (struct sockaddr*) &amp;addr, _DBUS_STRUCT_OFFSET (struct
sockaddr_un, sun_path) + path_len)

Where path_len is strlen(&quot;/tmp/whatever&quot;) + 1, the +1 is because
abstract sockets have the leading nul in front.

If the connect() or listen() just does sizeof(struct sockaddr_un) then
it will always get a bunch of trailing garbage bytes in the abstract
name.</description>
		<content:encoded><![CDATA[<p>For the C implementation, it&#8217;s a bit tricky to calculate the length of sockaddr_un. See:<br />
<a href="http://lists.freedesktop.org/archives/dbus/2008-February/009303.html" rel="nofollow">http://lists.freedesktop.org/archives/dbus/2008-February/009303.html</a></p>
<p>Quoting:<br />
connect (fd, (struct sockaddr*) &amp;addr, _DBUS_STRUCT_OFFSET (struct<br />
sockaddr_un, sun_path) + path_len)</p>
<p>Where path_len is strlen(&#8220;/tmp/whatever&#8221;) + 1, the +1 is because<br />
abstract sockets have the leading nul in front.</p>
<p>If the connect() or listen() just does sizeof(struct sockaddr_un) then<br />
it will always get a bunch of trailing garbage bytes in the abstract<br />
name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William</title>
		<link>http://blog.eduardofleury.com/archives/2007/09/13/comment-page-1/#comment-1239</link>
		<dc:creator>William</dc:creator>
		<pubDate>Mon, 21 Jul 2008 23:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.eduardofleury.com/archives/2007/09/13/#comment-1239</guid>
		<description>Thanks a lot, that helped me!</description>
		<content:encoded><![CDATA[<p>Thanks a lot, that helped me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MoRpHeUz</title>
		<link>http://blog.eduardofleury.com/archives/2007/09/13/comment-page-1/#comment-23</link>
		<dc:creator>MoRpHeUz</dc:creator>
		<pubDate>Mon, 24 Sep 2007 11:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.eduardofleury.com/archives/2007/09/13/#comment-23</guid>
		<description>Good article!
Btw, try search for &quot;python plugin&quot; for wordpress and you may find a plugin to post python code! =D
BR,</description>
		<content:encoded><![CDATA[<p>Good article!<br />
Btw, try search for &#8220;python plugin&#8221; for wordpress and you may find a plugin to post python code! =D<br />
BR,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
