<div dir="ltr">yep,<div><br></div><div style>a software shouldn'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'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"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></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>
> > then I tried udpserver which doesn't work (at least the version in the<br>
> > pd's SVN)<br>
> > then I switch to tcpserver and I got a lots of troubles...<br>
><br>
> Things look good as long as you think you only need streams. As soon as<br>
> you figure out that you need to send packets between your instances of<br>
> 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's actually quite stable since it isn'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'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>