<div dir="ltr">Hi roman, <div><br></div><div>the code around networking object are some workarounds for differents bugs, </div><div>the first was a crash when client number reach 32, but it seems to be fixed, I can&#39;t reproduce this anymore</div>


<div>the second was something strange if several clients connect to the same server at the same time (when patch launch for example), so I add a timeout, if no answer in this timeout, the client disconnect</div><div style>

there is also a mechanism to choose an available port at startup in server and the client try different port until it get a connection...</div><div style><br></div><div style>all of this is quite complex for a not so difficult task : I want to make several instance of Pd talking to each other on one machine</div>

<div style><br></div><div style>I started with udpsend/udpreceive but I found no way to do broadcast on localhost and I do need to have lots of clients</div><div style>multicasting is not a solution because it need to have a working networking interface</div>

<div style>then I tried udpserver which doesn&#39;t work (at least the version in the pd&#39;s SVN)</div><div style>then I switch to tcpserver and I got a lots of troubles...</div><div style><br></div><div style>I will try out iohannes version of iemnet and I&#39;ll also investigate those bugs</div>

<div style><br></div><div style>but other (simpler) solutions are welcome :-)</div><div style><br></div><div style>best </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/2 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 Die, 2013-07-02 at 13:39 +0200, Antoine Villeret wrote:<br>
&gt; hi again,<br>
&gt;<br>
&gt;<br>
&gt; just saw this thread right after posting<br>
&gt; mine : <a href="http://lists.puredata.info/pipermail/pd-list/2013-07/103236.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/2013-07/103236.html</a><br>
&gt;<br>
&gt;<br>
&gt; sorry for bothering<br>
&gt;<br>
&gt;<br>
&gt; here is attached three small patches that make PD crash<br>
&gt; raw_client and raw_server work well together<br>
&gt; but when I try to connect more client (eg. 10 with 10_raw_client)<br>
&gt; crash happens...<br>
<br>
</div>What is all the code around the networking objects about, specially in<br>
raw_client.pd? Do you mind explaining what it does as it is not really<br>
fun to look at.<br>
<br>
Or probably more interesting: What is it trying to achieve? Even when<br>
only loading one instance of raw_client.pd, I only get:<br>
<br>
iemnet:sender-shutdown: Transport endpoint is not connected<br>
<span class="HOEnZb"><font color="#888888"><br>
Roman<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Pd-dev mailing list<br>
<a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
</div></div></blockquote></div><br></div>