aboutsummaryrefslogtreecommitdiff
path: root/flashserver/flashserver-help.pd
blob: af51ea18fa60d7a6c63914879bd493fc83874dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#N canvas 0 26 853 649 12;
#X floatatom 315 459 5 0 0 0 - - -;
#X symbolatom 432 401 10 0 0 0 - - -;
#X text 106 590 received data;
#X msg 277 84 print;
#X floatatom 393 420 5 0 0 0 - - -;
#X text 443 419 socket number;
#X msg 358 233 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 401 client's IP address;
#X msg 347 205 client 1 hallo no1!;
#X msg 337 178 send 372 hallo!;
#X text 467 178 send message on specified socket;
#X text 452 289 send message back to socket whenever we get input;
#X text 341 20 flashserver :: simple server that connects to Flash
PlugIn;
#X text 507 204 send message to Flash client no. 1;
#X text 551 232 send to all Flash clients;
#X text 492 118 send XML message on socket;
#X text 557 133 "sendXML <socket> <symbol> <data>";
#X obj 79 160 openpanel;
#X msg 79 129 bang;
#X msg 79 183 open \$1;
#X text 78 63 open Flash frontend;
#X text 331 85 print list of current connections;
#X msg 80 87 open flashserver.exe;
#X obj 366 552 pack f f;
#X obj 425 529 * 2.5;
#X obj 366 504 swap;
#X obj 277 480 route var1;
#X obj 366 577 s answer;
#X obj 380 288 r answer;
#X text 368 458 number of connected Flash clients;
#X msg 308 126 sendXML 400 bla 17.3;
#X floatatom 354 439 5 0 0 0 - - -;
#X text 408 439 client number we got data from;
#X text 508 486 creation arguments:;
#X text 507 505 "flashserver <portnumber> <max connections>";
#X obj 109 403 route 1;
#X floatatom 282 565 5 0 0 0 - - -;
#X symbolatom 187 564 10 0 0 0 - - -;
#X obj 187 528 unpack s f;
#X floatatom 110 564 5 0 0 0 - - -;
#X symbolatom 15 563 10 0 0 0 - - -;
#X obj 15 527 unpack s f;
#X text 6 502 if prepend is on:;
#X text 175 504 if prepend is off:;
#X text 472 555 "prepend 1" prepends the client's number to the data
;
#X text 475 574 use "route" to get data from specific clients...;
#X msg 380 310 send \$1 result \$2;
#X msg 559 350 kick \$1;
#X obj 559 310 hradio 15 1 0 16 empty empty empty 0 -6 0 8 -262144
-1 -1 0;
#X obj 277 378 flashserver 31337 16;
#X text 627 350 kick client number \$1;
#X obj 559 328 + 1;
#X msg 189 154 prepend \$1;
#X obj 189 131 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X text 505 149 send XML message to client #;
#X msg 321 151 clientXML 1 bla 17.3;
#X text 555 258 send XML data to all Flash clients;
#X msg 365 258 broadcastXML volume 23;
#N canvas 468 85 518 357 META 0;
#X text 12 205 AUTHOR Olaf Matthes;
#X text 12 225 HELP_PATCH_AUTHORS Olaf Matthes. "pd meta" information
added by Jonathan Wilkes for Pd version 0.42.;
#X text 12 5 KEYWORDS control network;
#X text 12 75 INLET_0 print open prepend sendXML clientXML send client
broadcast broadcastXML kick;
#X text 12 105 OUTLET_0 list anything;
#X text 12 125 OUTLET_1 float;
#X text 12 145 OUTLET_2 float;
#X text 12 165 OUTLET_3 float;
#X text 12 185 OUTLET_3 float;
#X text 12 25 LICENSE GPL v2;
#X text 12 45 DESCRIPTION simple server that connects to Flash Plugin
using Flash's XMLsocket capabilities;
#X restore 789 620 pd META;
#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;