diff options
Diffstat (limited to 'doc/tutorials/networking/11.chat_exercise.pd')
-rw-r--r-- | doc/tutorials/networking/11.chat_exercise.pd | 25 |
1 files changed, 25 insertions, 0 deletions
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; |