aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/networking
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-07 22:50:38 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-07 22:50:38 +0000
commit19ff830fa9aa293e67b5f7b547bb6d8c34982857 (patch)
tree40dce8a0063d9384444da4e82903e0da76305c01 /doc/tutorials/networking
parented219c52beb1d6f811a644b85e8f46b297889e21 (diff)
files created for the walcheturm workshop in Zurich
svn path=/trunk/; revision=5058
Diffstat (limited to 'doc/tutorials/networking')
-rw-r--r--doc/tutorials/networking/08.wildcard_messages.pd43
-rw-r--r--doc/tutorials/networking/09.chat-server.pd (renamed from doc/tutorials/networking/Attic/chat-server.pd)0
-rw-r--r--doc/tutorials/networking/10.chat_client.pd (renamed from doc/tutorials/networking/Attic/chat-client.pd)0
-rw-r--r--doc/tutorials/networking/11.chat_exercise.pd25
4 files changed, 68 insertions, 0 deletions
diff --git a/doc/tutorials/networking/08.wildcard_messages.pd b/doc/tutorials/networking/08.wildcard_messages.pd
new file mode 100644
index 00000000..4174b967
--- /dev/null
+++ b/doc/tutorials/networking/08.wildcard_messages.pd
@@ -0,0 +1,43 @@
+#N canvas 129 112 644 464 10;
+#X obj 8 10 cnv 15 400 40 empty empty matching_with_wildcards 20 12
+0 24 -228992 -66577 0;
+#X text 10 69 OSC gives you a very useful feature which regular [route]
+does not: wildcards. Wildcards are characters that match any pattern.
+The * is the most common \, it means match any amount of any character:
+;
+#X obj 38 236 bng 15 250 50 0 empty empty match 18 8 0 12 -262144 -1
+-1;
+#X obj 130 236 bng 15 250 50 0 empty empty unmatched 18 8 0 12 -262144
+-1 -1;
+#X msg 30 134 /test/message data;
+#X obj 37 216 OSCroute /*;
+#X msg 56 185 /1/2/3 data;
+#X msg 56 159 /some/other/message 1 2 3;
+#X text 142 214 <-- notice the * in the pattern;
+#X text 320 347 <-- notice the * in the pattern;
+#X msg 212 278 /inst2/note B;
+#X msg 110 279 /inst1/note C;
+#X msg 229 319 /inst3/note F;
+#X obj 202 346 OSCroute /*;
+#X msg 219 298 /player3/note D;
+#X obj 274 366 bng 15 250 50 0 empty empty unmatched 18 8 0 12 -262144
+-1 -1;
+#X obj 294 409 bng 15 250 50 0 empty empty unmatched 18 8 0 12 -262144
+-1 -1;
+#X obj 202 388 OSCroute /note;
+#X obj 202 410 symbol;
+#X symbolatom 202 432 10 0 0 0 - - -;
+#X connect 4 0 5 0;
+#X connect 5 0 2 0;
+#X connect 5 1 3 0;
+#X connect 6 0 5 0;
+#X connect 7 0 5 0;
+#X connect 10 0 13 0;
+#X connect 11 0 13 0;
+#X connect 12 0 13 0;
+#X connect 13 0 17 0;
+#X connect 13 1 15 0;
+#X connect 14 0 13 0;
+#X connect 17 0 18 0;
+#X connect 17 1 16 0;
+#X connect 18 0 19 0;
diff --git a/doc/tutorials/networking/Attic/chat-server.pd b/doc/tutorials/networking/09.chat-server.pd
index f61fe495..f61fe495 100644
--- a/doc/tutorials/networking/Attic/chat-server.pd
+++ b/doc/tutorials/networking/09.chat-server.pd
diff --git a/doc/tutorials/networking/Attic/chat-client.pd b/doc/tutorials/networking/10.chat_client.pd
index 1607e626..1607e626 100644
--- a/doc/tutorials/networking/Attic/chat-client.pd
+++ b/doc/tutorials/networking/10.chat_client.pd
diff --git a/doc/tutorials/networking/11.chat_exercise.pd b/doc/tutorials/networking/11.chat_exercise.pd
new file mode 100644
index 00000000..87885153
--- /dev/null
+++ b/doc/tutorials/networking/11.chat_exercise.pd
@@ -0,0 +1,25 @@
+#N canvas 123 124 644 464 10;
+#X obj 8 10 cnv 15 400 40 empty empty chat_exercise 20 12 0 24 -225271
+-66577 0;
+#X obj 437 59 import maxlib cyclone zexy;
+#X obj 129 89 prepend broadcast;
+#X obj 202 191 prepend;
+#X obj 246 169 makesymbol client%s_%s;
+#X obj 246 148 pack float symbol;
+#X obj 202 118 netserver 47292;
+#X text 434 118 useful objects:;
+#X text 463 159 [entry];
+#X text 463 138 [prepend];
+#X text 11 60 Here is a basic chat room server:;
+#X text 14 218 Implement a client to send and receive messages using
+this server. Connect to the server "pdbox.at.or.at" on the same port
+\, 47292;
+#X msg 115 271 connect pdbox.at.or.at 47292;
+#X text 463 179 [netclient];
+#X connect 2 0 6 0;
+#X connect 3 0 2 0;
+#X connect 4 0 3 1;
+#X connect 5 0 4 0;
+#X connect 6 0 3 0;
+#X connect 6 2 5 0;
+#X connect 6 3 5 1;