<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[networking in libpd (and adding C external to libPD)]]></title><description><![CDATA[<p>Hello guys,<br />
I'm considering creating an audio networking prototype application in PD on Android.<br />
I already have networking externals I written in C a few years ago (not unlike netsend~ and netreceive~), but I'm new with libpd. The networking externals employ POSIX sockets.<br />
So questions are:</p>
<ul>
<li>are the sockets ok under Android? Being a Linux system I believe they will work compiling with the NDK, but I fear they will interfere with all the Android networking layer (which I don't know and anyway I don't think I can call from plain C code).</li>
<li>how do I embed my external in libpd? Since libpd is basically the vanilla Pd I guess somehow I'll have to let it know that there are other externals binaries somewhere...</li>
</ul>
<p>Thank you guys</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9863/networking-in-libpd-and-adding-c-external-to-libpd</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 15:09:45 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/9863.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Feb 2016 11:23:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to networking in libpd (and adding C external to libPD) on Fri, 26 Feb 2016 11:23:28 GMT]]></title><description><![CDATA[<p>Hello guys,<br />
I'm considering creating an audio networking prototype application in PD on Android.<br />
I already have networking externals I written in C a few years ago (not unlike netsend~ and netreceive~), but I'm new with libpd. The networking externals employ POSIX sockets.<br />
So questions are:</p>
<ul>
<li>are the sockets ok under Android? Being a Linux system I believe they will work compiling with the NDK, but I fear they will interfere with all the Android networking layer (which I don't know and anyway I don't think I can call from plain C code).</li>
<li>how do I embed my external in libpd? Since libpd is basically the vanilla Pd I guess somehow I'll have to let it know that there are other externals binaries somewhere...</li>
</ul>
<p>Thank you guys</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9863/networking-in-libpd-and-adding-c-external-to-libpd</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9863/networking-in-libpd-and-adding-c-external-to-libpd</guid><dc:creator><![CDATA[leonardo]]></dc:creator><pubDate>Fri, 26 Feb 2016 11:23:28 GMT</pubDate></item><item><title><![CDATA[Reply to networking in libpd (and adding C external to libPD) on Sat, 27 Feb 2016 02:24:42 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/leonardo">@leonardo</a> I can only answer the second question: You need to compile the external (adding the .c in the makefile of libpd) and then call the setup method of the external just after the libpd_init function.</p>
<p>Cheers~</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/9863/networking-in-libpd-and-adding-c-external-to-libpd/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/9863/networking-in-libpd-and-adding-c-external-to-libpd/2</guid><dc:creator><![CDATA[EEight]]></dc:creator><pubDate>Sat, 27 Feb 2016 02:24:42 GMT</pubDate></item></channel></rss>