aboutsummaryrefslogtreecommitdiff
path: root/udpserver-help.pd
blob: 8ffc2c43f5257ee3d2a35243022fd616bdccacbf (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
118
119
120
121
122
123
124
#N canvas 3 45 858 382 12;
#X floatatom 78 159 5 0 0 0 - - -;
#X floatatom 102 189 5 0 0 0 - - -;
#X floatatom 126 239 3 0 0 0 - - -;
#X floatatom 153 239 3 0 0 0 - - -;
#X floatatom 180 239 3 0 0 0 - - -;
#X floatatom 207 239 3 0 0 0 - - -;
#X text 89 238 from;
#X text -6 159 connections;
#X msg 55 61 broadcast 1 2 3;
#X text 173 62 send to all clients;
#X text 32 189 on socket;
#X text 162 125 argument is port number;
#X text 52 350 ***WARNING*** Attempting to print long messages can
hang pd!;
#X obj 55 290 spigot;
#X obj 94 270 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699
-45076 0 1;
#X text 54 333 Received messages are output as stream of bytes;
#X msg 70 94 11 216 43;
#X obj 304 288 spigot;
#X obj 343 268 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699
-45076 0 1;
#N canvas 3 45 768 526 getting.info 0;
#X floatatom 99 162 5 0 0 0 - - -;
#X text 139 163 to_client;
#X floatatom 390 165 3 0 0 0 - - -;
#X symbolatom 422 140 15 0 0 0 - - -;
#X floatatom 359 189 5 0 0 0 - - -;
#X floatatom 454 115 7 0 0 0 - - -;
#X floatatom 180 117 5 0 0 0 - - -;
#X text 223 118 on_socket;
#X floatatom 139 141 5 0 0 0 - - -;
#X obj 99 62 route sent;
#X obj 359 61 route client;
#X text 533 141 ip;
#X text 505 115 port;
#X text 416 165 socket;
#X text 400 191 client;
#X text 184 140 sent_bytes;
#X floatatom 99 342 5 0 0 0 - - -;
#X floatatom 180 297 5 0 0 0 - - -;
#X floatatom 139 321 5 0 0 0 - - -;
#X obj 99 242 route bufsize;
#X floatatom 93 501 3 0 0 0 - - -;
#X floatatom 147 501 3 0 0 0 - - -;
#X floatatom 120 501 3 0 0 0 - - -;
#X obj 93 421 route address;
#X obj 99 271 unpack f f f;
#X obj 359 87 unpack f f s f;
#X obj 99 91 unpack f f f;
#X obj 93 450 unpack f f f f f;
#X floatatom 174 501 3 0 0 0 - - -;
#X floatatom 202 475 6 0 0 0 - - -;
#X text 200 501 ip;
#X text 248 475 port;
#X text 139 342 socket;
#X text 178 322 insize (bytes);
#X text 218 298 outsize (bytes);
#X text 361 261 info about current inqueue/outqueue;
#X text 354 435 NOTE: outlets #3 and #4 are for compatibility with
mrpeach's net obects. You can get all information via outlet #5 as
well;
#X obj 99 36 r \$0.udpserver.o5;
#X obj 99 216 r \$0.udpserver.o5;
#X obj 93 395 r \$0.udpserver.o5;
#X obj 359 35 r \$0.udpserver.o5;
#X connect 9 0 26 0;
#X connect 10 0 25 0;
#X connect 19 0 24 0;
#X connect 23 0 27 0;
#X connect 24 0 16 0;
#X connect 24 1 18 0;
#X connect 24 2 17 0;
#X connect 25 0 4 0;
#X connect 25 1 2 0;
#X connect 25 2 3 0;
#X connect 25 3 5 0;
#X connect 26 0 0 0;
#X connect 26 1 8 0;
#X connect 26 2 6 0;
#X connect 27 0 20 0;
#X connect 27 1 22 0;
#X connect 27 2 21 0;
#X connect 27 3 28 0;
#X connect 27 4 29 0;
#X connect 37 0 9 0;
#X connect 38 0 19 0;
#X connect 39 0 23 0;
#X connect 40 0 10 0;
#X restore 530 236 pd getting.info;
#X text 523 306 copyright (c) 2009 Martin Peach;
#X text 523 323 copyright (c) 2010 Roman Haefeli;
#X text 523 340 copyright (c) 2010 IOhannes m zmoelnig;
#X text 510 74 check also:;
#X text 21 6 [udpserver] waits for clients to connect to its port.
;
#X obj 55 126 udpserver 9997;
#X obj 513 96 udpreceive;
#X obj 513 121 udpclient;
#X obj 150 153 s \$0.udpserver.o5;
#X obj 304 243 r \$0.udpserver.o5;
#X obj 126 216 unpack f f f f f;
#X floatatom 235 240 6 0 0 0 - - -;
#X obj 55 313 print udpserver:received;
#X obj 304 314 print udpserver:status;
#X text 145 94 or without 'broadcast' selector;
#X connect 8 0 25 0;
#X connect 13 0 32 0;
#X connect 14 0 13 1;
#X connect 16 0 25 0;
#X connect 17 0 33 0;
#X connect 18 0 17 1;
#X connect 25 0 13 0;
#X connect 25 1 0 0;
#X connect 25 2 1 0;
#X connect 25 3 30 0;
#X connect 25 4 28 0;
#X connect 29 0 17 0;
#X connect 30 0 2 0;
#X connect 30 1 3 0;
#X connect 30 2 4 0;
#X connect 30 3 5 0;
#X connect 30 4 31 0;