aboutsummaryrefslogtreecommitdiff
path: root/udpsndrcv-help.pd
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-09-01 14:30:54 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-09-01 14:30:54 +0000
commite6f799e41d7910e1388c68630c49bf3141cb8d9c (patch)
tree442af8d11ad2ca606f0622bf30a88db4e8fa5541 /udpsndrcv-help.pd
parentf628926f7ff2d494667bc14bc5d0cbcba02de5db (diff)
sync with git
svn path=/trunk/externals/iem/iemnet/; revision=17545
Diffstat (limited to 'udpsndrcv-help.pd')
-rw-r--r--udpsndrcv-help.pd59
1 files changed, 59 insertions, 0 deletions
diff --git a/udpsndrcv-help.pd b/udpsndrcv-help.pd
new file mode 100644
index 0000000..e65f129
--- /dev/null
+++ b/udpsndrcv-help.pd
@@ -0,0 +1,59 @@
+#N canvas 247 75 632 526 10;
+#X obj 72 255 udpsndrcv;
+#X msg 72 148 connect localhost 12345 54321;
+#X obj 382 255 udpsndrcv;
+#X obj 72 360 print A:connected?;
+#X obj 102 329 print A:data;
+#X obj 132 300 print A:status;
+#X obj 442 300 print B:status;
+#X obj 412 329 print B:data;
+#X obj 382 357 print B:connected?;
+#X msg 86 171 send 10 20 30 40;
+#X msg 91 196 disconnect;
+#X msg 114 224 status;
+#X msg 401 196 disconnect;
+#X msg 424 224 status;
+#X msg 382 148 connect localhost 54321 12345;
+#X msg 396 171 send 50 40 30 20 10;
+#X text 80 26 [udpsndrcv] bi-directional communication;
+#X text 74 59 this is an abstraction around [udpclient] for compatibility
+with mrpeach/net's object of the same name.;
+#N canvas 4 78 530 417 sending/receiving 0;
+#X obj 142 275 udpsndrcv;
+#X msg 161 216 disconnect;
+#X msg 184 244 status;
+#X msg 142 168 connect localhost 55555 55555;
+#X msg 156 191 send 5 5 5;
+#X obj 202 320 print C:status;
+#X obj 172 349 print C:data;
+#X obj 142 377 print C:connected?;
+#X text 52 58 when using the same port for sending and receiving \,
+you must talk with real remote host (NOT localhost).;
+#X text 55 88 else you will simply be talking to yourself...;
+#X text 156 146 talk to yourself.;
+#X connect 0 0 7 0;
+#X connect 0 1 6 0;
+#X connect 0 2 5 0;
+#X connect 1 0 0 0;
+#X connect 2 0 0 0;
+#X connect 3 0 0 0;
+#X connect 4 0 0 0;
+#X restore 172 492 pd sending/receiving on the same port;
+#X text 86 394 send to port:12345;
+#X text 72 409 listen on port:54321;
+#X text 396 394 send to port:54321;
+#X text 382 409 listen on port:12345;
+#X connect 0 0 3 0;
+#X connect 0 1 4 0;
+#X connect 0 2 5 0;
+#X connect 1 0 0 0;
+#X connect 2 0 8 0;
+#X connect 2 1 7 0;
+#X connect 2 2 6 0;
+#X connect 9 0 0 0;
+#X connect 10 0 0 0;
+#X connect 11 0 0 0;
+#X connect 12 0 2 0;
+#X connect 13 0 2 0;
+#X connect 14 0 2 0;
+#X connect 15 0 2 0;