aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/networking
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-08 04:54:57 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-04-08 04:54:57 +0000
commit2b0386b162455d9e67cb34d3839ff2d7aadf24f1 (patch)
tree24e75ab1a93608432e0cddfab4394cf70cf7c18e /doc/tutorials/networking
parented9112860c8f5ccd57fff520d9146da20655fb25 (diff)
first quick sketch for networking tuts
svn path=/trunk/; revision=4846
Diffstat (limited to 'doc/tutorials/networking')
-rw-r--r--doc/tutorials/networking/01.netsend_netreceive.pd36
-rw-r--r--doc/tutorials/networking/Attic/01.netsend_netreceive.pd36
-rw-r--r--doc/tutorials/networking/TEMPLATE.pd21
3 files changed, 93 insertions, 0 deletions
diff --git a/doc/tutorials/networking/01.netsend_netreceive.pd b/doc/tutorials/networking/01.netsend_netreceive.pd
new file mode 100644
index 00000000..456ebd83
--- /dev/null
+++ b/doc/tutorials/networking/01.netsend_netreceive.pd
@@ -0,0 +1,36 @@
+#N canvas 15 58 632 452 10;
+#X obj 8 10 cnv 15 400 40 empty empty netsend_netreceive 20 12 0 24
+-228992 -66577 0;
+#X obj 56 181 send \$0-local-data;
+#X obj 56 292 receive \$0-local-data;
+#X obj 60 144 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225271
+-1 -1 7600 1;
+#X obj 59 331 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 7600 1;
+#X obj 311 144 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225280
+-1 -1 1400 1;
+#X obj 311 331 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 1400 1;
+#X obj 308 231 netsend;
+#X obj 308 291 netreceive 34567;
+#X msg 326 192 connect localhost 34567;
+#X obj 308 250 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X obj 415 310 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X text 329 249 <-- connection status;
+#X text 433 310 <-- connection status;
+#X msg 327 211 disconnect;
+#X msg 308 169 send \$1;
+#X text 45 78 At the most basic level \, networking in Pd works a lot
+like the standard [send] and [receive] objects \, except there is a
+network port number rather than a send/receive name:;
+#X connect 2 0 4 0;
+#X connect 3 0 1 0;
+#X connect 5 0 15 0;
+#X connect 7 0 10 0;
+#X connect 8 0 6 0;
+#X connect 8 1 11 0;
+#X connect 9 0 7 0;
+#X connect 14 0 7 0;
+#X connect 15 0 7 0;
diff --git a/doc/tutorials/networking/Attic/01.netsend_netreceive.pd b/doc/tutorials/networking/Attic/01.netsend_netreceive.pd
new file mode 100644
index 00000000..456ebd83
--- /dev/null
+++ b/doc/tutorials/networking/Attic/01.netsend_netreceive.pd
@@ -0,0 +1,36 @@
+#N canvas 15 58 632 452 10;
+#X obj 8 10 cnv 15 400 40 empty empty netsend_netreceive 20 12 0 24
+-228992 -66577 0;
+#X obj 56 181 send \$0-local-data;
+#X obj 56 292 receive \$0-local-data;
+#X obj 60 144 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225271
+-1 -1 7600 1;
+#X obj 59 331 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 7600 1;
+#X obj 311 144 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225280
+-1 -1 1400 1;
+#X obj 311 331 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 1400 1;
+#X obj 308 231 netsend;
+#X obj 308 291 netreceive 34567;
+#X msg 326 192 connect localhost 34567;
+#X obj 308 250 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X obj 415 310 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X text 329 249 <-- connection status;
+#X text 433 310 <-- connection status;
+#X msg 327 211 disconnect;
+#X msg 308 169 send \$1;
+#X text 45 78 At the most basic level \, networking in Pd works a lot
+like the standard [send] and [receive] objects \, except there is a
+network port number rather than a send/receive name:;
+#X connect 2 0 4 0;
+#X connect 3 0 1 0;
+#X connect 5 0 15 0;
+#X connect 7 0 10 0;
+#X connect 8 0 6 0;
+#X connect 8 1 11 0;
+#X connect 9 0 7 0;
+#X connect 14 0 7 0;
+#X connect 15 0 7 0;
diff --git a/doc/tutorials/networking/TEMPLATE.pd b/doc/tutorials/networking/TEMPLATE.pd
new file mode 100644
index 00000000..67cfc98c
--- /dev/null
+++ b/doc/tutorials/networking/TEMPLATE.pd
@@ -0,0 +1,21 @@
+#N canvas 15 58 632 452 10;
+#X obj 8 10 cnv 15 400 40 empty empty TEMPLATE 20 12 0 24 -228992 -66577
+0;
+#X obj 56 151 send \$0-local-data;
+#X obj 56 192 receive \$0-local-data;
+#X obj 60 124 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 3700 1;
+#X obj 59 221 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 3700 1;
+#X obj 342 124 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 0 1;
+#X obj 341 221 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 0 1;
+#X obj 338 192 netreceive;
+#X obj 338 151 netsend;
+#X text 45 78 At the most basic level \, networking in Pd works like
+the standard [send] and [receive] objects:;
+#X connect 2 0 4 0;
+#X connect 3 0 1 0;
+#X connect 5 0 8 0;
+#X connect 7 0 6 0;