<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on Lloyd Rochester's Geek Blog</title><link>https://lloydroc.github.io/tags/python/</link><description>Recent content in Python on Lloyd Rochester's Geek Blog</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2025, Lloyd Rochester.</copyright><lastBuildDate>Tue, 18 Jun 2019 06:45:00 +0000</lastBuildDate><atom:link href="https://lloydroc.github.io/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Passing Datagrams Between Python and C</title><link>https://lloydroc.github.io/post/c/unix-domain-socket-datagram/</link><pubDate>Tue, 18 Jun 2019 06:45:00 +0000</pubDate><guid>https://lloydroc.github.io/post/c/unix-domain-socket-datagram/</guid><description>&lt;p>Let&amp;rsquo;s discuss how to pass data from a C program to a Python Script and vice-versa. This subject involves IPC - Inter-Process Communications. In this blog post we&amp;rsquo;ll discuss the more exotic IPC mechanism of the &lt;strong>Unix domain datagram socket&lt;/strong>. Specifically, this is domain &lt;code>AF_UNIX&lt;/code> and type &lt;code>SOCK_DGRAM&lt;/code> type of socket. Before you consider this method let&amp;rsquo;s address some of it&amp;rsquo;s benefits and limitations of using Unix Domain Sockets for Interprocess Communications:&lt;/p></description></item></channel></rss>