blob: 18e6d3ca48eda26a0624977bd608da16fff92382 (
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
|
#N canvas 0 34 988 533 12;
#X msg 96 97 disconnect;
#X floatatom 255 351 3 0 0 0 - - -;
#X floatatom 284 351 3 0 0 0 - - -;
#X floatatom 311 351 3 0 0 0 - - -;
#X floatatom 336 351 3 0 0 0 - - -;
#X text 219 351 from;
#X obj 275 307 tgl 15 0 empty empty connected 18 7 0 8 -24198 -241291
-1 1 1;
#X text 187 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 364 156 semicolon-terminated string for netserver or netreceive
;
#X text 302 182 '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 1 1;
#X floatatom 772 190 9 0 0 0 - - -;
#X text 40 399 2010/03/01 Martin Peach;
#X text 418 440 Attempting to print long messages can hang Pd!;
#X obj 772 166 route sent;
#X text 844 190 sent bytes;
#X floatatom 772 347 3 0 0 0 - - -;
#X floatatom 826 347 3 0 0 0 - - -;
#X floatatom 799 347 3 0 0 0 - - -;
#X obj 772 268 route address;
#X obj 772 296 unpack f f f f f;
#X floatatom 853 347 3 0 0 0 - - -;
#X floatatom 881 321 6 0 0 0 - - -;
#X text 879 347 ip;
#X text 927 320 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 - - -;
#X msg 128 129 send 47 116 101 115 116 32 104 101 108 108 111 10;
#X msg 156 157 send 51 49 32 97 98 99 59 10;
#X text 482 128 /test hello (OSC message);
#X text 308 255 udpclient can be used for a bi-directional connection
;
#X msg 183 184 97 98 99 100 10;
#X msg 47 48 connect swisstime.ethz.ch 13;
#X text 527 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 772 142 r \$0.udpclient.o4;
#X obj 772 242 r \$0.udpclient.o4;
#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;
|