aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-04-21 22:42:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-04-21 22:42:42 +0000
commitb826c2b2df787e4887125867b0ddc96158a0e0cf (patch)
treeed383023c614b07483e1386c17c6d328c0758790
parentb3b1f6f7f8c7b877c505a07f5d2f7654c3cfecca (diff)
This commit was generated by cvs2svn to compensate for changes in r580,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/olafmatt/; revision=581
-rw-r--r--flashserver/README28
-rw-r--r--flashserver/flashserver-help.pd101
2 files changed, 129 insertions, 0 deletions
diff --git a/flashserver/README b/flashserver/README
new file mode 100644
index 0000000..bdfb5ae
--- /dev/null
+++ b/flashserver/README
@@ -0,0 +1,28 @@
+flashserver 0.2 - Pure Data server external for Flash clients
+copyright (c) 2002 - 2003 by Olaf Matthes
+
+flashserver is a server external for pd (by Miller Puckette). It allows
+multiple Flash clients to connect to it and to communicate with Pd in both
+directions. It can be used to control Pd using one or more Flash frontends
+over the internet.
+
+This object has been inspired by work done by
+Eric Skogen (http://www.audionerd.com/) and
+Oliver Thuns (http://www.radiostudio.org/streaps/).
+It is based on my netserver object which is part of the maxlib library for
+Pd (http://www.akustische-kunst.org/puredata/maxlib/).
+
+flashserver supports the FUDI and the XML protocol. Have a look at the Flash
+files to see how data transfer works. Flash version 5.0 or later is required.
+
+KNOWN BUG:
+In case the other end (i.e. the Flash client) drops the connection flashserver
+only recognises this when it attempts to send data to that client. It then
+kicks the client. Otherwise the client would remain there forever. Thus it is
+a good idea to sporadically send data back (even if not needed) just to see if
+clients are still alive!
+
+
+flashserver is published under GPL terms. See file LICENSE for details.
+Get latest version at http://www.akustische-kunst.org/puredata/flash/
+Send bugs to info@akustische-kunst.org \ No newline at end of file
diff --git a/flashserver/flashserver-help.pd b/flashserver/flashserver-help.pd
new file mode 100644
index 0000000..a1cdcba
--- /dev/null
+++ b/flashserver/flashserver-help.pd
@@ -0,0 +1,101 @@
+#N canvas 95 90 964 652 12;
+#X floatatom 315 464 5 0 0 0 - - -;
+#X symbolatom 432 406 10 0 0 0 - - -;
+#X text 106 595 received data;
+#X msg 277 89 print;
+#X floatatom 393 425 5 0 0 0 - - -;
+#X text 443 424 socket number;
+#X msg 358 238 broadcast hallo world!;
+#X text 461 38 using Flash's XMLsocket capabilities;
+#X text 462 55 written by Olaf Matthes <olaf.matthes@gmx.de>;
+#X text 524 406 client's IP address;
+#X msg 347 210 client 1 hallo no1!;
+#X msg 337 183 send 372 hallo!;
+#X text 467 183 send message on specified socket;
+#X text 452 294 send message back to socket whenever we get input;
+#X text 341 20 flashserver :: simple server that connects to Flash
+PlugIn;
+#X text 507 209 send message to Flash client no. 1;
+#X text 551 237 send to all Flash clients;
+#X text 492 123 send XML message on socket;
+#X text 557 138 "sendXML <socket> <symbol> <data>";
+#X obj 79 165 openpanel;
+#X msg 79 134 bang;
+#X msg 79 188 open \$1;
+#X text 78 68 open Flash frontend;
+#X text 331 90 print list of current connections;
+#X msg 80 92 open flashserver.exe;
+#X obj 366 557 pack f f;
+#X obj 425 534 * 2.5;
+#X obj 366 509 swap;
+#X obj 277 485 route var1;
+#X obj 366 582 s answer;
+#X obj 380 293 r answer;
+#X text 368 463 number of connected Flash clients;
+#X msg 308 131 sendXML 400 bla 17.3;
+#X floatatom 354 444 5 0 0 0 - - -;
+#X text 408 444 client number we got data from;
+#X text 508 491 creation arguments:;
+#X text 507 510 "flashserver <portnumber> <max connections>";
+#X obj 109 408 route 1;
+#X floatatom 282 570 5 0 0 0 - - -;
+#X symbolatom 187 569 10 0 0 0 - - -;
+#X obj 187 533 unpack s f;
+#X floatatom 110 569 5 0 0 0 - - -;
+#X symbolatom 15 568 10 0 0 0 - - -;
+#X obj 15 532 unpack s f;
+#X text 6 507 if prepend is on:;
+#X text 175 509 if prepend is off:;
+#X text 472 560 "prepend 1" prepends the client's number to the data
+;
+#X text 475 579 use "route" to get data from specific clients...;
+#X msg 380 315 send \$1 result \$2;
+#X msg 559 355 kick \$1;
+#X obj 559 315 hradio 15 1 0 16 empty empty empty 0 -6 0 8 -262144
+-1 -1 0;
+#X obj 277 383 flashserver 31337 16;
+#X text 627 355 kick client number \$1;
+#X obj 559 333 + 1;
+#X msg 189 159 prepend \$1;
+#X obj 189 136 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X text 505 154 send XML message to client #;
+#X msg 321 156 clientXML 1 bla 17.3;
+#X text 555 263 send XML data to all Flash clients;
+#X msg 365 263 broadcastXML volume 23;
+#X connect 3 0 51 0;
+#X connect 4 0 27 1;
+#X connect 6 0 51 0;
+#X connect 10 0 51 0;
+#X connect 11 0 51 0;
+#X connect 19 0 21 0;
+#X connect 20 0 19 0;
+#X connect 21 0 51 0;
+#X connect 24 0 51 0;
+#X connect 25 0 29 0;
+#X connect 26 0 25 1;
+#X connect 27 0 25 0;
+#X connect 27 1 26 0;
+#X connect 28 0 27 0;
+#X connect 30 0 48 0;
+#X connect 32 0 51 0;
+#X connect 37 0 43 0;
+#X connect 37 1 40 0;
+#X connect 40 0 39 0;
+#X connect 40 1 38 0;
+#X connect 43 0 42 0;
+#X connect 43 1 41 0;
+#X connect 48 0 51 0;
+#X connect 49 0 51 0;
+#X connect 50 0 53 0;
+#X connect 51 0 28 0;
+#X connect 51 0 37 0;
+#X connect 51 1 0 0;
+#X connect 51 2 33 0;
+#X connect 51 3 4 0;
+#X connect 51 4 1 0;
+#X connect 53 0 49 0;
+#X connect 54 0 51 0;
+#X connect 55 0 54 0;
+#X connect 57 0 51 0;
+#X connect 59 0 51 0;