$ pd -nogui netreceive-patch.pd & pd -nogui netsend-patch.pd
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".
So you should first run "killall pd" (and even killall -9 pd when it's stuck), before running you command.
Antoine Rousseau http://www.metalu.net http://metalu.net __ http://www.metaluachahuter.com/ http://www.metaluachahuter.com/compagnies/al1-ant1/
2018-02-23 15:39 GMT+01:00 Fede camarafede@gmail.com:
Thanks,
That thread is on windows, and debian, and seemed solved for pd-0.48.0 (https://lists.puredata.info/pipermail/pd-list/2017-10/120849.html)
I’m on macOS:
Pd-0.48.1 ("") compiled 13:16:11 Jan 7 2018
I attach two patches that if opened the following way, won’t work on the first time:
$ pd -nogui netreceive-patch.pd & pd -nogui netsend-patch.pd connecting to port 5004 connecting stream socket: Connection refused (61)
On the second run, it reads:
bind: Address already in use (48)
On Feb 23, 2018, at 3:21 PM, Peter P. peterparker@fastmail.com wrote:
See the mailing list archive perhaps? 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
- Fede Camara Halac camarafede@gmail.com [2018-02-23 14:40]:
Hi all,
Any reason why sometimes opening 2 instances with -nogui and
communicating via netsend and netreceive would fail?
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.
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)
but other than that I am wondering if -nogui would affect communication
between instances.
Cheers,
Fede
fdch.github.io/tv
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/
listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/
listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list