<div dir="ltr">yep,<div><br></div><div style>a software shouldn&#39;t crash in theory</div><div style>but in real life, I should take crash into account and find some way to restart the system in a working state as fast as possible (so that, nobody suffers from the crash).</div>

<div style>another solution is to correct all bugs, but it&#39;s too hard for me :-) (and many are not in Pd but in separate library like v4l2...)</div><div style><br></div><div style>thanks for all, </div><div style><br>

</div><div style>a</div></div><div class="gmail_extra"><br clear="all"><div>--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br>
</div>

<br><br><div class="gmail_quote">2013/7/3 Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Mit, 2013-07-03 at 00:16 +0200, Roman Haefeli wrote:<br>
<br>
&gt; &gt; then I tried udpserver which doesn&#39;t work (at least the version in the<br>
&gt; &gt; pd&#39;s SVN)<br>
&gt; &gt; then I switch to tcpserver and I got a lots of troubles...<br>
&gt;<br>
&gt; Things look good as long as you think you only need streams. As soon as<br>
&gt; you figure out that you need to send packets between your instances of<br>
&gt; Pd, things get really complex wit [tcpserver].<br>
<br>
</div>Have you also tried [maxlib/netserver]? It is the oldest of all and does<br>
only send FUDI. For connecting many Pds together this might be the<br>
easiest to use.<br>
<br>
It&#39;s actually quite stable since it isn&#39;t threaded, but it blocks Pd if<br>
its buffer is full. This might not be an issue under normal<br>
circumstances as the buffer should get emptied quickly for connections<br>
on localhost. Problems arise when a client disappear without<br>
disconnecting properly. [maxlib/netserver] wants to still send data to<br>
such a vanished client and so the buffer is filled until it blocks Pd<br>
and also the traffic for all other clients. If that happens, there is<br>
nothing much you can do about but closing Pd.  This means your clients<br>
must not crash and must not be closed without closing the connection.<br>
<br>
Networking doesn&#39;t come for free in Pd.<br>
<span class="HOEnZb"><font color="#888888"><br>
Roman<br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>