Commit 1d839e88 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

added field to client list (1: settings master)

parent 14f37537
......@@ -81,11 +81,11 @@
#X connect 27 0 26 0;
#X connect 28 0 20 0;
#X restore 13 72 pd tpf.communication;
#N canvas 902 132 433 378 register/name 0;
#X obj 130 291 s \$0.to;
#N canvas 902 132 489 466 register/name 0;
#X obj 130 371 s \$0.to;
#X obj 7 11 r \$0.from;
#X obj 7 31 routeOSC /register/name;
#X msg 26 253 /register/done;
#X msg 22 333 /register/done;
#X obj 7 52 list prepend;
#X obj 87 52 r \$0.client;
#N canvas 0 43 333 404 prevent_duplicates 0;
......@@ -128,13 +128,16 @@
#X obj 130 168 list trim;
#X obj 7 96 t a a;
#X obj 7 143 list append;
#X obj 83 191 loadbang;
#X obj 46 232 text set \$0.clients;
#X msg 83 211 1e+06;
#X obj 7 352 s \$0.add.connection;
#X obj 7 163 t b b a;
#X obj 7 331 f;
#X msg 22 312 \$1;
#X obj 91 271 loadbang;
#X obj 54 312 text set \$0.clients;
#X msg 91 291 1e+06;
#X obj 7 432 s \$0.add.connection;
#X obj 7 411 f;
#X msg 22 392 \$1;
#X obj 7 163 t b b a a b;
#X obj 54 252 list append;
#X obj 70 188 text size \$0.clients;
#X obj 70 208 == 0;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 0 0;
......@@ -146,15 +149,19 @@
#X connect 8 0 0 0;
#X connect 9 0 6 0;
#X connect 9 1 10 1;
#X connect 10 0 15 0;
#X connect 10 0 17 0;
#X connect 11 0 13 0;
#X connect 13 0 12 1;
#X connect 15 0 16 0;
#X connect 15 1 3 0;
#X connect 15 2 12 0;
#X connect 15 2 17 0;
#X connect 16 0 14 0;
#X connect 17 0 16 1;
#X connect 15 0 14 0;
#X connect 16 0 15 1;
#X connect 17 0 15 0;
#X connect 17 1 3 0;
#X connect 17 2 16 0;
#X connect 17 3 18 0;
#X connect 17 4 19 0;
#X connect 18 0 12 0;
#X connect 19 0 20 0;
#X connect 20 0 18 1;
#X restore 13 112 pd register/name;
#N canvas 595 213 337 132 protol/version 0;
#X obj 17 15 r \$0.from;
......@@ -166,7 +173,7 @@
#X connect 3 0 1 0;
#X restore 13 92 pd protol/version;
#X obj 13 10 text define \$0.clients;
#N canvas 740 527 442 369 unregister/name 0;
#N canvas 740 527 494 446 unregister/name 0;
#X text 11 9 We want disconnceting clients to automatically unregister
by IP and port.;
#X obj 14 50 r SERVER;
......@@ -175,29 +182,40 @@ by IP and port.;
#X obj 15 135 sel -1;
#X text 68 136 <- detects a disconnecting client;
#X obj 15 163 list append;
#X obj 75 274 text delete \$0.clients;
#X obj 87 272 text delete \$0.clients;
#X obj 15 228 sel -1;
#X obj 14 71 route num_of_clients socket;
#X obj 15 202 text search \$0.clients 0;
#X obj 48 253 t b a;
#X obj 15 183 t a a;
#X obj 48 289 f;
#X obj 48 310 s \$0.del.connection;
#X obj 48 357 f;
#X obj 48 378 s \$0.del.connection;
#X obj 48 253 t b b a;
#X obj 67 335 text set \$0.clients;
#X obj 104 293 loadbang;
#X msg 104 313 0;
#X msg 141 313 2;
#X msg 67 313 1;
#X connect 1 0 9 0;
#X connect 2 0 3 1;
#X connect 2 1 3 0;
#X connect 3 0 4 0;
#X connect 4 0 6 0;
#X connect 6 0 12 0;
#X connect 8 1 11 0;
#X connect 6 0 11 0;
#X connect 8 1 14 0;
#X connect 9 0 2 0;
#X connect 9 1 6 1;
#X connect 10 0 8 0;
#X connect 11 0 13 0;
#X connect 11 1 7 0;
#X connect 12 0 10 0;
#X connect 12 1 13 1;
#X connect 13 0 14 0;
#X connect 11 0 10 0;
#X connect 11 1 12 1;
#X connect 12 0 13 0;
#X connect 14 0 12 0;
#X connect 14 1 19 0;
#X connect 14 2 7 0;
#X connect 16 0 17 0;
#X connect 16 0 18 0;
#X connect 17 0 15 1;
#X connect 18 0 15 2;
#X connect 19 0 15 0;
#X restore 13 131 pd unregister/name;
#X obj 13 31 text define \$0.connections;
#N canvas 1023 352 650 536 manage.connections 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment