Hi Simon,
Is there a way to send different universes (or even the same) to multiple IPs with artnetlib? If I simply create another artnetudp object I get an "artnetudp: socket bind failed.“ error in the console.
strange i don't get the "socket bind failed.“ with 2 [artnetudp]. tested on Windows11 and Debian13.
eventually you can use [trigger] objects to address multiple ips or universes. see attached .pd file.
also if needed (and if you have an github account) you can open an issue on the repo:
https://github.com/Lucarda/pd-artnetlib -- Mensaje telepatico asistido por maquinas On 13/12/2025 04:56, Simon Iten wrote:
Hi List and Lucas, Is there a way to send different universes (or even the same) to multiple IPs with artnetlib? If I simply create another artnetudp object I get an "artnetudp: socket bind failed.“ error in the console. The alternative is to use the 192.x.x.255 broadcast address, and simply send everything to all nodes, is this the preferred way for every situation with more then one node? Thanks for any insights, Simon --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/CD2H6UZZ2XXFBBHGGPCFGCFDDTKLRYHU/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
#N canvas 318 140 779 561 12; #X declare -lib artnetlib; #X obj 199 521 artnetudp; #X obj 106 138 artnetfromarray \$0-array1; #X floatatom 282 252 5 0 0 0 - - - 0; #X floatatom 213 253 5 0 0 0 - - - 0; #X text 280 232 physical; #X text 211 232 universe; #X obj 187 282 artnetsend 0 0; #N canvas 0 50 450 250 (subpatch) 0; #X array \$0-array1 16 float 2; #A color 0; #A width 2; #X coords 0 1 16 -1 200 140 1 0 0; #X restore 332 26 graph; #X msg 128 61 poll 0; #X msg 106 34 poll 20; #X msg 244 441 targetip 192.168.1.20; #X msg 281 475 targetip 192.168.1.21; #X obj 187 363 t l b l b; #X obj 595 15 declare -lib artnetlib; #X text 278 357 <-- [trigger] send same message to 2 ips; #X text 181 183 <-- you can use a [trigger] here for changin just the universe and later the ip, f 68; #X connect 1 0 6 0; #X connect 2 0 6 2; #X connect 3 0 6 1; #X connect 6 0 12 0; #X connect 8 0 1 0; #X connect 9 0 1 0; #X connect 10 0 0 0; #X connect 11 0 0 0; #X connect 12 0 0 0; #X connect 12 1 10 0; #X connect 12 2 0 0; #X connect 12 3 11 0;
--- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/MHV4O3BKZOMADF3QL42JMIB4EKHOZ6IR/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
