aboutsummaryrefslogtreecommitdiff
path: root/osc/tcpsocket.FUDI.pd
diff options
context:
space:
mode:
Diffstat (limited to 'osc/tcpsocket.FUDI.pd')
-rw-r--r--osc/tcpsocket.FUDI.pd96
1 files changed, 65 insertions, 31 deletions
diff --git a/osc/tcpsocket.FUDI.pd b/osc/tcpsocket.FUDI.pd
index 0ced636..74194d3 100644
--- a/osc/tcpsocket.FUDI.pd
+++ b/osc/tcpsocket.FUDI.pd
@@ -35,23 +35,44 @@ on specified socket already exists.;
;
#X obj -2 136 cnv 15 450 70 empty empty empty 20 12 0 14 -204786 -66577
0;
-#N canvas 385 67 454 323 FUDI 0;
+#N canvas 385 67 606 479 FUDI 0;
#X obj 23 6 inlet;
-#X obj 23 284 outlet;
-#N canvas 389 242 220 273 serialize 0;
-#X obj 5 72 t a a;
-#X obj 37 94 list prepend 0;
-#X obj 37 115 s \$0.inbuffer;
-#X obj 5 135 list length;
-#X obj 5 179 until;
-#X obj 5 156 t a b;
-#X obj 5 202 f;
-#X obj 50 205 + 1;
-#X msg 49 179 0;
-#X obj 5 228 tabread \$0.inbuffer;
+#X obj 23 400 outlet;
+#N canvas 389 242 191 341 serialize 0;
+#X obj 5 100 t a a;
+#X obj 37 122 list prepend 0;
+#X obj 37 143 s \$0.inbuffer;
+#X obj 5 174 list length;
+#X obj 5 218 until;
+#X obj 5 195 t a b;
+#X obj 5 241 f;
+#X obj 50 244 + 1;
+#X msg 49 218 0;
+#X obj 5 267 tabread \$0.inbuffer;
#X obj 5 50 inlet;
-#X obj 5 250 outlet;
-#X obj 5 12 table \$0.inbuffer 1024;
+#X obj 5 289 outlet;
+#X obj 5 12 table \$0.inbuffer 8192;
+#N canvas 294 258 396 232 list_serialize_raw 0;
+#X obj 13 73 until;
+#X obj 13 97 list append;
+#X obj 13 47 t b a;
+#X obj 13 23 inlet;
+#X obj 13 169 outlet;
+#X obj 13 121 list split 8192;
+#X obj 141 106 b;
+#X text 12 190 cut incoming list into pieces of a maximum of the buffersize.
+;
+#X connect 0 0 1 0;
+#X connect 1 0 5 0;
+#X connect 2 0 0 0;
+#X connect 2 1 1 1;
+#X connect 3 0 2 0;
+#X connect 5 0 4 0;
+#X connect 5 1 1 1;
+#X connect 5 2 6 0;
+#X connect 5 2 4 0;
+#X connect 6 0 0 1;
+#X restore 5 74 pd list_serialize_raw;
#X connect 0 0 3 0;
#X connect 0 1 1 0;
#X connect 1 0 2 0;
@@ -64,41 +85,54 @@ on specified socket already exists.;
#X connect 7 0 6 1;
#X connect 8 0 6 1;
#X connect 9 0 11 0;
-#X connect 10 0 0 0;
+#X connect 10 0 13 0;
+#X connect 13 0 0 0;
#X restore 23 30 pd serialize;
#X obj 23 109 t a a;
-#X obj 97 181 list prepend;
-#X obj 195 180 t a;
-#X obj 23 211 list append;
-#X obj 23 234 t a b;
+#X obj 97 297 list prepend;
+#X obj 195 296 t a;
+#X obj 23 327 list append;
+#X obj 23 350 t a b;
#X obj 160 56 inlet;
#X text 210 56 reset;
#X obj 23 53 sel 10 13;
#X msg 23 76 32;
-#X obj 23 133 sel 59;
-#X text 83 134 asci: semicolon is used as a delimiter;
-#X obj 160 152 b;
-#X obj 23 257 list append 10;
+#X obj 23 219 sel 59;
+#X obj 178 264 b;
+#X obj 23 373 list append 10;
+#X obj 23 149 sel 92;
+#X msg 23 171 -1;
+#X obj 62 171 t a a;
+#X msg 62 193 59;
+#X text 119 182 <-;
+#X text 144 176 separate by 59 (semicolon) \, but ignore semicolons
+prepended by 92 (backslash);
#X connect 0 0 2 0;
#X connect 2 0 10 0;
-#X connect 3 0 12 0;
+#X connect 3 0 15 0;
#X connect 3 1 4 0;
#X connect 4 0 5 0;
#X connect 4 0 6 1;
#X connect 5 0 4 1;
#X connect 6 0 7 0;
-#X connect 7 0 15 0;
+#X connect 7 0 14 0;
#X connect 7 1 6 1;
#X connect 7 1 4 1;
-#X connect 8 0 14 0;
+#X connect 8 0 13 0;
#X connect 10 0 11 0;
#X connect 10 1 11 0;
#X connect 10 2 3 0;
#X connect 11 0 3 0;
#X connect 12 0 6 0;
-#X connect 14 0 4 1;
-#X connect 14 0 6 1;
-#X connect 15 0 1 0;
+#X connect 13 0 4 1;
+#X connect 13 0 6 1;
+#X connect 14 0 1 0;
+#X connect 15 0 16 0;
+#X connect 15 1 17 0;
+#X connect 16 0 12 1;
+#X connect 17 0 18 0;
+#X connect 17 1 12 0;
+#X connect 18 0 12 1;
#X restore 7 161 pd FUDI;
#X text 70 162 <- PUT HERE THE PROTOCOL SPECIFIC DELIMITER CODE;
#X text 15 197 --------------------------------------------------------
@@ -109,8 +143,8 @@ on specified socket already exists.;
#X obj 7 465 s \$1.TCPSOCKET;
#X obj 105 255 r \$1.TCPSOCKET;
#X text 200 454 Author: Roman Haefeli;
-#X text 201 474 Version: 2009-01-11;
#X text 50 74 <- only pass stream of own socket;
+#X text 201 474 Version: 2009-02-02;
#X connect 0 0 2 1;
#X connect 1 0 2 0;
#X connect 1 1 0 0;