<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>$ pd -nogui netreceive-patch.pd & pd -nogui netsend-patch.pd</blockquote><div><br></div><div>this actually runs "pd -nogui netreceive-patch.pd" in background (because of the '&'), then when you quit (with Ctrl+C ?) this instance keeps running; check it with "ps -aux".<br><br></div><div>So you should first run "killall pd" (and even killall -9 pd when it's stuck), before running you command.<br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif"> Antoine Rousseau </font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">  <a href="http://metalu.net" target="_blank">http://www.metalu.net</a> __ <a href="http://www.metaluachahuter.com/compagnies/al1-ant1/" target="_blank">http://www.metaluachahuter.com/</a><br><br></font></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-02-23 15:39 GMT+01:00 Fede <span dir="ltr"><<a href="mailto:camarafede@gmail.com" target="_blank">camarafede@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks,<br>
<br>
That thread is on windows, and debian, and seemed solved for pd-0.48.0<br>
(<a href="https://lists.puredata.info/pipermail/pd-list/2017-10/120849.html" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>pipermail/pd-list/2017-10/<wbr>120849.html</a>)<br>
<br>
I’m on macOS:<br>
<br>
Pd-0.48.1 ("") compiled 13:16:11 Jan  7 2018<br>
<br>
I attach two patches that if opened the following way, won’t work on the first time:<br>
<br>
        $ pd -nogui netreceive-patch.pd & pd -nogui netsend-patch.pd<br>
<br>
        connecting to port 5004<br>
        connecting stream socket: Connection refused (61)<br>
<br>
On the second run, it reads:<br>
<br>
        bind: Address already in use (48)<br>
<br>
<br><br>
<br>
On Feb 23, 2018, at 3:21 PM, Peter P. <<a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a>> wrote:<br>
<br>
> See the mailing list archive perhaps?<br>
> <a href="https://lists.puredata.info/search?P=-nogui+AND+netsend&DEFAULTOP=and&G=pd-list&SORT=0&HITSPERPAGE=100&DB=default&HITSPERPAGE=100&FMT=query&xP=Znogui%09Znetsend&xDB=default&xFILTERS=.%7E%7E0" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>search?P=-nogui+AND+netsend&<wbr>DEFAULTOP=and&G=pd-list&SORT=<wbr>0&HITSPERPAGE=100&DB=default&<wbr>HITSPERPAGE=100&FMT=query&xP=<wbr>Znogui%09Znetsend&xDB=default&<wbr>xFILTERS=.%7E%7E0</a><br>
><br>
> * Fede Camara Halac <<a href="mailto:camarafede@gmail.com">camarafede@gmail.com</a>> [2018-02-23 14:40]:<br>
>> Hi all,<br>
>><br>
>> Any reason why sometimes opening 2 instances with -nogui and communicating via netsend and netreceive would fail?<br>
>><br>
>> I am careful enought to open the socket first  (netreceive) and then to connect. With gui, I have no problem. With -nogui, sometimes the network does not initialize.<br>
>><br>
>> I realize I use Gem on one instance and not on the other, so a delay in load time might cause this, and a solution is to put netreceive in the patch with less loadtime, and delay (aka not the Gem patch)<br>
>><br>
>> but other than that I am wondering if -nogui would affect communication between instances.<br>
>><br>
>> Cheers,<br>
>><br>
>> Fede<br>
>><br>
>> <a href="http://fdch.github.io/tv" rel="noreferrer" target="_blank">fdch.github.io/tv</a><br>
>><br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
><br>
> ______________________________<wbr>_________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br>
<br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>