-
Notifications
You must be signed in to change notification settings - Fork 3
/
udpclient-help.pd
94 lines (94 loc) · 3.13 KB
/
udpclient-help.pd
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
#N canvas 4 49 1100 592 12;
#X msg 116 117 disconnect;
#X floatatom 255 351 3 0 0 0 - - -, f 3;
#X floatatom 284 351 3 0 0 0 - - -, f 3;
#X floatatom 311 351 3 0 0 0 - - -, f 3;
#X floatatom 336 351 3 0 0 0 - - -, f 3;
#X text 219 351 from;
#X obj 275 307 tgl 15 0 empty empty connected 18 7 0 8 -24198 -241291
-1 0 1;
#X text 197 21 connect with an IP address and port number;
#X text 44 257 See also:;
#X msg 21 22 connect 127.0.0.1 9997;
#X text 414 176 semicolon-terminated string for netserver or netreceive
;
#X text 322 202 'send' prefix is optional;
#X obj 235 412 spigot;
#X obj 274 389 tgl 15 0 empty empty enable_print 18 7 0 8 -24198 -241291
-1 0 1;
#X floatatom 872 280 9 0 0 0 - - -, f 9;
#X text 40 399 2010/03/01 Martin Peach;
#X text 438 440 Attempting to print long messages can hang Pd!;
#X obj 872 256 route sent;
#X text 944 280 sent bytes;
#X floatatom 872 437 3 0 0 0 - - -, f 3;
#X floatatom 926 437 3 0 0 0 - - -, f 3;
#X floatatom 899 437 3 0 0 0 - - -, f 3;
#X obj 872 358 route address;
#X obj 872 386 unpack f f f f f;
#X floatatom 953 437 3 0 0 0 - - -, f 3;
#X floatatom 981 411 6 0 0 0 - - -, f 6;
#X text 979 437 ip;
#X text 1027 430 port;
#X obj 520 344 spigot;
#X obj 559 321 tgl 15 0 empty empty enable_print 18 7 0 8 -24198 -241291
-1 0 1;
#X text 286 411 Received messages are output as a stream of bytes;
#X text 45 477 NOTE: outlet's #2 & #3 are for compatibility with mrpeach's
net objects. all information is available via outlet#4 as well!;
#X obj 45 279 udpreceive;
#X obj 45 302 udpserver;
#X text 40 414 2010/10/08 Roman Haefeli;
#X obj 235 256 udpclient;
#X obj 235 441 print udpclient:received;
#X obj 520 373 print udpclient:status;
#X obj 255 328 unpack f f f f f;
#X floatatom 364 351 6 0 0 0 - - -, f 6;
#X msg 148 149 send 47 116 101 115 116 32 104 101 108 108 111 10;
#X msg 176 177 send 51 49 32 97 98 99 59 10;
#X text 552 148 /test hello (OSC message);
#X text 312 255 udpclient can be used for a bi-directional connection
;
#X msg 203 204 97 98 99 100 10;
#X msg 47 48 connect swisstime.ethz.ch 13;
#X text 547 14 udpclient can connect to a server and send and receive
messages as lists of bytes. Any integer value between 0 and 255 can
be transmitted or received.;
#X obj 295 281 s \$0.udpclient.o4;
#X obj 520 298 r \$0.udpclient.o4;
#X obj 872 232 r \$0.udpclient.o4;
#X obj 872 332 r \$0.udpclient.o4;
#X msg 74 75 connect 127.0.0.1 7999 7999;
#X text 303 67 optional second argument to set the local port (where
we receive the returning messages) \; default is to choose any available
port.;
#X connect 0 0 35 0;
#X connect 9 0 35 0;
#X connect 12 0 36 0;
#X connect 13 0 12 1;
#X connect 17 0 14 0;
#X connect 22 0 23 0;
#X connect 23 0 19 0;
#X connect 23 1 21 0;
#X connect 23 2 20 0;
#X connect 23 3 24 0;
#X connect 23 4 25 0;
#X connect 28 0 37 0;
#X connect 29 0 28 1;
#X connect 35 0 12 0;
#X connect 35 1 38 0;
#X connect 35 2 6 0;
#X connect 35 3 47 0;
#X connect 38 0 1 0;
#X connect 38 1 2 0;
#X connect 38 2 3 0;
#X connect 38 3 4 0;
#X connect 38 4 39 0;
#X connect 40 0 35 0;
#X connect 41 0 35 0;
#X connect 44 0 35 0;
#X connect 45 0 35 0;
#X connect 48 0 28 0;
#X connect 49 0 17 0;
#X connect 50 0 22 0;
#X connect 51 0 35 0;