aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/networking/02.netsend_netreceive.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-05 07:23:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-05 07:23:54 +0000
commit5140196012f3adb5788b0c0533fe60ae5befdd5b (patch)
tree5693a02db07757bbc72b36d10afa7f1fd3742e32 /doc/tutorials/networking/02.netsend_netreceive.pd
parent9c28b4bb7d0bf90a6d0506ac7c2fd1fa13f1bca8 (diff)
first sketch on net intro
svn path=/trunk/; revision=5048
Diffstat (limited to 'doc/tutorials/networking/02.netsend_netreceive.pd')
-rw-r--r--doc/tutorials/networking/02.netsend_netreceive.pd36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/tutorials/networking/02.netsend_netreceive.pd b/doc/tutorials/networking/02.netsend_netreceive.pd
new file mode 100644
index 00000000..2cdb37e8
--- /dev/null
+++ b/doc/tutorials/networking/02.netsend_netreceive.pd
@@ -0,0 +1,36 @@
+#N canvas 15 58 636 456 10;
+#X obj 8 10 cnv 15 400 40 empty empty netsend_netreceive 20 12 0 24
+-228992 -66577 0;
+#X obj 56 211 send \$0-local-data;
+#X obj 56 342 receive \$0-local-data;
+#X obj 60 174 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225271
+-1 -1 0 1;
+#X obj 59 381 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 0 1;
+#X obj 311 174 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225280
+-1 -1 0 1;
+#X obj 311 381 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 0 1;
+#X obj 308 261 netsend;
+#X obj 308 341 netreceive 34567;
+#X msg 326 222 connect localhost 34567;
+#X obj 308 280 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 415 360 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X text 329 279 <-- connection status;
+#X text 433 360 <-- connection status;
+#X msg 327 241 disconnect;
+#X msg 308 199 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;