From 9f0009faeaa0960f57fcacea91b45997258016e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 1 Sep 2015 14:32:27 +0000 Subject: synch more with git svn path=/trunk/externals/iem/iemnet/; revision=17546 --- tests/reflect/01_tcp.pd | 20 +++++++++++++++ tests/reflect/02_udp.pd | 18 +++++++++++++ tests/reflect/03_tcpserver.pd | 59 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 tests/reflect/01_tcp.pd create mode 100644 tests/reflect/02_udp.pd create mode 100644 tests/reflect/03_tcpserver.pd (limited to 'tests/reflect') diff --git a/tests/reflect/01_tcp.pd b/tests/reflect/01_tcp.pd new file mode 100644 index 0000000..1a727f8 --- /dev/null +++ b/tests/reflect/01_tcp.pd @@ -0,0 +1,20 @@ +#N canvas 1583 339 487 300 10; +#X obj 54 183 spigot; +#X obj 54 227 t f f; +#X obj 54 249 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +1; +#X msg 120 184 disconnect \, connect localhost 9998; +#X text 44 26 this sends all data received on TCP:9999 back on TCP:9998 +; +#X obj 120 158 loadbang; +#X obj 54 112 tcpreceive 9999; +#X obj 54 205 tcpsend; +#X obj 54 134 t a a; +#X connect 0 0 7 0; +#X connect 1 0 2 0; +#X connect 1 1 0 1; +#X connect 3 0 7 0; +#X connect 5 0 3 0; +#X connect 6 0 8 0; +#X connect 7 0 1 0; +#X connect 8 0 0 0; diff --git a/tests/reflect/02_udp.pd b/tests/reflect/02_udp.pd new file mode 100644 index 0000000..939f96a --- /dev/null +++ b/tests/reflect/02_udp.pd @@ -0,0 +1,18 @@ +#N canvas 341 348 487 300 10; +#X obj 54 112 udpreceive 9999; +#X obj 54 205 udpsend; +#X obj 54 183 spigot; +#X obj 54 227 t f f; +#X obj 54 249 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X msg 120 184 disconnect \, connect localhost 9998; +#X text 44 26 this sends all data received on UDP:9999 back on UDP:9998 +; +#X obj 120 158 loadbang; +#X connect 0 0 2 0; +#X connect 1 0 3 0; +#X connect 2 0 1 0; +#X connect 3 0 4 0; +#X connect 3 1 2 1; +#X connect 5 0 1 0; +#X connect 7 0 5 0; diff --git a/tests/reflect/03_tcpserver.pd b/tests/reflect/03_tcpserver.pd new file mode 100644 index 0000000..7748070 --- /dev/null +++ b/tests/reflect/03_tcpserver.pd @@ -0,0 +1,59 @@ +#N canvas 148 388 826 376 10; +#X obj 116 59 tcpserver 9999; +#X obj 28 66 t a a; +#X msg 144 26 serialize 0; +#X text 376 126 OLD=0.077s (+dropout); +#X text 45 199 zmoelnig/rtsp.log (37M); +#X text 43 173 YoYoTheMovie_comp.mov; +#X text 375 158 OLD=0.735 (+dropouts); +#X text 35 225 zmoelnig/Hydro...wav (223M); +#X text 379 140 NEW=0.104s (+dropout); +#X text 374 169 NEW=0.812 (+dropouts); +#X text 382 206 NEW=9.880 (+dropouts \, NOfreeze); +#X text 377 188 OLD=9.341 (+dropouts \, NOfreeze); +#X text 443 98 reflect; +#X text 637 95 receive-only; +#X text 641 165 0.67 (+dropouts); +#X text 641 136 0.064 (+dropouts); +#X text 632 198 3.672(+dropouts); +#X text 632 185 3.672(+fewdropouts); +#X text 634 213 MRPEACH:4.8(NOdrops); +#X obj 31 125 list prepend broadcast; +#X obj 31 147 list trim; +#X obj 245 64 list length; +#X obj 245 86 +; +#X obj 245 108 t f f; +#X obj 229 128 f; +#X obj 258 33 t b b; +#X msg 277 88 0; +#X floatatom 229 150 0 0 0 0 - - -; +#X msg 254 8 bang; +#X floatatom 229 223 0 0 0 0 - - -; +#X msg 259 130 bang; +#X obj 229 172 / 1000; +#X obj 229 194 int; +#X obj 286 174 % 1000; +#X floatatom 286 196 5 0 0 0 - - -, f 5; +#X msg 205 106 bang; +#X connect 0 0 1 0; +#X connect 1 0 19 0; +#X connect 1 1 21 0; +#X connect 2 0 0 0; +#X connect 19 0 20 0; +#X connect 20 0 0 0; +#X connect 21 0 22 0; +#X connect 22 0 23 0; +#X connect 23 0 24 1; +#X connect 23 1 22 1; +#X connect 24 0 27 0; +#X connect 25 0 26 0; +#X connect 25 1 24 0; +#X connect 26 0 23 0; +#X connect 27 0 31 0; +#X connect 27 0 33 0; +#X connect 28 0 25 0; +#X connect 30 0 27 0; +#X connect 31 0 32 0; +#X connect 32 0 29 0; +#X connect 33 0 34 0; +#X connect 35 0 24 0; -- cgit v1.2.1