diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-04-07 18:11:49 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-04-07 18:11:49 +0000 |
commit | a8165e9dcf8fc3ba61d12c78d7e4156d2022316b (patch) | |
tree | 1eedd3463da9c154effd0cc6119e95a50c2bd29a /doc/tutorials/networking | |
parent | c28d41658d18c8573bbe88bf1ba3bdcb93abb5c2 (diff) |
clean up chat server example
svn path=/trunk/; revision=10973
Diffstat (limited to 'doc/tutorials/networking')
-rw-r--r-- | doc/tutorials/networking/09.chat-server.pd | 16 | ||||
-rw-r--r-- | doc/tutorials/networking/chat-client.pd | 66 | ||||
-rw-r--r-- | doc/tutorials/networking/chat-server.pd | 14 |
3 files changed, 9 insertions, 87 deletions
diff --git a/doc/tutorials/networking/09.chat-server.pd b/doc/tutorials/networking/09.chat-server.pd index 701e88b6..194ac39d 100644 --- a/doc/tutorials/networking/09.chat-server.pd +++ b/doc/tutorials/networking/09.chat-server.pd @@ -1,11 +1,13 @@ #N canvas 10 40 620 460 10; -#X declare -lib libdir; -#X obj 258 13 import maxlib cyclone zexy; -#X obj 141 112 netserver 47292; -#X obj 68 83 prepend broadcast; -#X obj 153 204 prepend; -#X obj 197 176 makesymbol client%s_%s; -#X obj 197 151 pack float symbol; +#X declare -lib maxlib -lib cyclone -lib zexy; +#X obj 258 73 import maxlib cyclone zexy; +#X obj 141 172 netserver 47292; +#X obj 68 143 prepend broadcast; +#X obj 153 264 prepend; +#X obj 197 236 makesymbol client%s_%s; +#X obj 197 211 pack float symbol; +#X obj 18 20 cnv 15 400 40 empty empty chat_server 20 12 0 24 -228992 +-66577 0; #X connect 1 0 3 0; #X connect 1 2 5 0; #X connect 1 3 5 1; diff --git a/doc/tutorials/networking/chat-client.pd b/doc/tutorials/networking/chat-client.pd deleted file mode 100644 index 1607e626..00000000 --- a/doc/tutorials/networking/chat-client.pd +++ /dev/null @@ -1,66 +0,0 @@ -#N canvas 257 22 610 553 10; -#X obj 413 12 import maxlib cyclone zexy; -#X msg 130 295 disconnect; -#X obj 108 323 netclient; -#X obj 50 233 prepend send; -#X obj 125 415 prepend set; -#X obj 136 356 print; -#X obj 27 66 trigger bang bang; -#X msg 27 88 clear; -#X text 314 266 <-- first connect to the server; -#X text 213 294 <-- disconnect when you are done to free the port; -#N canvas 238 612 454 304 /SUBPATCH/ 0; -#X obj 101 10 inlet; -#X obj 100 100 tgl 25 0 empty \$0-tgl connected 0 -6 0 8 -4033 -262144 --1 1 1; -#X obj 121 35 select 1; -#X obj 199 245 s \$0-tgl; -#X msg 224 197 label \$1; -#X obj 224 173 symbol; -#X msg 220 133 connected; -#X msg 298 132 -; -#X msg 112 197 color \$1 \$2 \$3; -#X msg 158 165 1 1 0; -#X msg 71 165 -65281 0 -1; -#X obj 171 55 bang; -#X connect 0 0 1 0; -#X connect 0 0 2 0; -#X connect 2 0 10 0; -#X connect 2 0 6 0; -#X connect 2 1 11 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 6 0 5 0; -#X connect 7 0 5 0; -#X connect 8 0 3 0; -#X connect 9 0 8 0; -#X connect 10 0 8 0; -#X connect 11 0 9 0; -#X connect 11 0 7 0; -#X coords 0 -1 1 1 25 25 1 100 100; -#X restore 191 345 pd; -#X msg 108 266 connect pdbox.at.or.at 47292; -#X msg 27 27 send; -#X obj 125 436 entry 300 100 grey90 black; -#X obj 49 121 entry 300 100 grey90 black; -#X text 114 96 type your message in the box below \, and click send -above; -#X obj 67 356 niagara 1; -#X text 68 437 message:; -#X symbolatom 67 398 25 0 0 0 sender: - -; -#X obj 67 377 symbol; -#X connect 1 0 2 0; -#X connect 2 0 5 0; -#X connect 2 0 16 0; -#X connect 2 1 10 0; -#X connect 3 0 2 0; -#X connect 4 0 13 0; -#X connect 6 0 7 0; -#X connect 6 1 14 0; -#X connect 7 0 14 0; -#X connect 11 0 2 0; -#X connect 12 0 6 0; -#X connect 14 0 3 0; -#X connect 16 0 19 0; -#X connect 16 1 4 0; -#X connect 19 0 18 0; diff --git a/doc/tutorials/networking/chat-server.pd b/doc/tutorials/networking/chat-server.pd deleted file mode 100644 index f61fe495..00000000 --- a/doc/tutorials/networking/chat-server.pd +++ /dev/null @@ -1,14 +0,0 @@ -#N canvas 769 55 458 308 10; -#X obj 258 13 import maxlib cyclone zexy; -#X obj 141 112 netserver 47292; -#X obj 68 83 prepend broadcast; -#X obj 153 204 prepend; -#X obj 197 176 makesymbol client%s_%s; -#X obj 197 151 pack float symbol; -#X connect 1 0 3 0; -#X connect 1 2 5 0; -#X connect 1 3 5 1; -#X connect 2 0 1 0; -#X connect 3 0 2 0; -#X connect 4 0 3 1; -#X connect 5 0 4 0; |