<div dir="ltr">Ok Peter, let&#39;s move this over to pd-dev. There is no specific libpd list, is it?<div style><br></div><div style>I have now quickly looked into what the context of the socket polling is like in Pd.</div>
<div style>It is even done in the audio callback (via sys_pollgui) if this is enabled, so it can&#39;t really have serious side effects. As far as i have seen libpd also uses a callback based approach for audio, at least for iOS. Maybe introducing a sys_microsleep(0,1) in the audio callback does the trick? I will test that now.</div>
<div style>That said, i&#39;m totally unaware of the details of other implementations.</div><div style><br></div><div style>all the best,</div><div style>gr~~~~</div><div style> </div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/1/21 Peter Brinkmann <span dir="ltr">&lt;<a href="mailto:peter.brinkmann@googlemail.com" target="_blank">peter.brinkmann@googlemail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><br></div>Hi Thomas,<br>I have to admit that I didn&#39;t realize that netreceive requires an extra polling step. So, I&#39;m afraid that netreceive is currently broken.<br><br>The question is what to do about this. I took a quick look at sys_domicrosleep and didn&#39;t immediately see how it works. I wouldn&#39;t mind integrating it into libpd somehow, but I want to be sure that there won&#39;t be any weird side effects. This seems slightly off-topic for pd-list. Shall we talk about this on pd-dev?<br>

Cheers,<br></div>     Peter<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Sun, Jan 20, 2013 at 6:42 PM, Thomas Grill <span dir="ltr">&lt;<a href="mailto:gr@grrrr.org" target="_blank">gr@grrrr.org</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all,<div>i am new to libpd and i have run into problems using netreceive on ios 5.1.</div>
<div>While netsend works perfectly, netreceive doesn&#39;t work at all. Senders can connect to the receiving socket, but netreceive wouldn&#39;t spit out any data.</div>

<div>Looking at the code, it seems to me that the polling of the net sockets (done in plain Pure Data in s_inter.c / sys_domicrosleep) is not called in libpd at all. I also couldn&#39;t find a different place where this is done.</div>


<div>Does that mean that libpd doesn&#39;t currently service incoming socket data?</div><div><br></div><div><br></div><div>Thanks for clarification, all the best,</div><div>gr~~~</div><span><font color="#888888"><div>
<div>
<br></div>-- <br>Thomas Grill<br><a href="http://grrrr.org" target="_blank">http://grrrr.org</a>
</div></font></span></div>
<br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thomas Grill<br><a href="http://grrrr.org">http://grrrr.org</a>
</div>