aboutsummaryrefslogtreecommitdiff
path: root/tcpserver-help.pd
blob: 7c2e80a9856f13d6c35618495db358a0f0e31847 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#N canvas 0 0 996 665 12;
#X floatatom 318 409 5 0 0 0 - - -;
#X floatatom 342 439 5 0 0 0 - - -;
#X floatatom 366 489 3 0 0 0 - - -;
#X floatatom 397 489 3 0 0 0 - - -;
#X floatatom 429 489 3 0 0 0 - - -;
#X floatatom 461 490 3 0 0 0 - - -;
#X text 329 488 from;
#X text 234 409 connections;
#X msg 149 210 broadcast 1 2 3;
#X text 272 210 send to all clients;
#X text 272 439 on socket;
#X text 233 183 send to client on socket 504;
#X msg 93 154 disconnectsocket \$1;
#X msg 20 81 disconnectclient \$1;
#X floatatom 38 32 5 0 0 0 - - -;
#X obj 20 57 f;
#X obj 20 38 bng 15 250 50 0 empty empty empty 17 7 0 10 -258699 -241291
-1;
#X floatatom 111 108 5 0 0 0 - - -;
#X obj 93 131 f;
#X obj 93 112 bng 15 250 50 0 empty empty empty 17 7 0 10 -258699 -241291
-1;
#X text 402 375 argument is port number;
#X text 292 600 ***WARNING*** Attempting to print long messages can
hang pd!;
#X obj 295 540 spigot;
#X obj 334 520 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699
-45076 0 1;
#X obj 295 376 tcpserver 9997;
#X text 21 6 [tcpserver] waits for clients to connect to its port.
;
#X floatatom 769 132 5 0 0 0 - - -;
#X text 809 133 to_client;
#X msg 225 286 client;
#X msg 200 261 client 1;
#X text 268 260 get state of client 1;
#X floatatom 800 301 3 0 0 0 - - -;
#X symbolatom 832 276 15 0 0 0 - - -;
#X floatatom 769 325 5 0 0 0 - - -;
#X floatatom 864 251 7 0 0 0 - - -;
#X text 277 286 get state of all clients (list on right outlet);
#X floatatom 850 87 5 0 0 0 - - -;
#X text 893 88 on_socket;
#X text 248 239 without specified method 'broadcast' is assumed;
#X text 294 583 Received messages are output as stream of bytes;
#X obj 295 563 print tcpserver:received;
#X msg 123 184 send 504 1 2 3;
#X msg 174 235 11 216 43;
#X text 162 81 disconnect by client number;
#X floatatom 809 111 5 0 0 0 - - -;
#X obj 769 32 route sent;
#X obj 769 197 route client;
#X obj 390 403 s \$0.tcpserver.o4;
#X obj 769 6 r \$0.tcpserver.o4;
#X obj 769 172 r \$0.tcpserver.o4;
#X text 943 277 ip;
#X obj 524 493 r \$0.tcpserver.o4;
#X obj 524 538 spigot;
#X obj 563 518 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699
-45076 0 1;
#X obj 524 564 print tcpserver:status;
#X text 242 153 disconnect by socket number;
#X text 915 251 port;
#X text 826 301 socket;
#X msg 250 311 client 1 1 2 3 4;
#X text 378 310 send (binary) 1 2 3 4 to client 1;
#X text 810 327 client;
#X text 854 110 sent_bytes;
#X floatatom 769 482 5 0 0 0 - - -;
#X floatatom 850 437 5 0 0 0 - - -;
#X floatatom 809 461 5 0 0 0 - - -;
#X obj 769 356 r \$0.tcpserver.o4;
#X obj 769 382 route bufsize;
#X floatatom 763 621 3 0 0 0 - - -;
#X floatatom 817 621 3 0 0 0 - - -;
#X floatatom 790 621 3 0 0 0 - - -;
#X obj 763 515 r \$0.tcpserver.o4;
#X obj 763 541 route address;
#X obj 769 411 unpack f f f;
#X obj 769 223 unpack f f s f;
#X obj 769 61 unpack f f f;
#X obj 366 466 unpack f f f f;
#X obj 763 570 unpack f f f f f;
#X floatatom 844 621 3 0 0 0 - - -;
#X floatatom 872 595 6 0 0 0 - - -;
#X text 870 621 ip;
#X text 918 595 port;
#X text 809 482 socket;
#X text 20 585 2009/04/08 Martin Peach;
#X text 848 462 insize (bytes);
#X text 888 438 outsize (bytes);
#X connect 8 0 24 0;
#X connect 12 0 24 0;
#X connect 13 0 24 0;
#X connect 14 0 15 1;
#X connect 15 0 13 0;
#X connect 16 0 15 0;
#X connect 17 0 18 1;
#X connect 18 0 12 0;
#X connect 19 0 18 0;
#X connect 22 0 40 0;
#X connect 23 0 22 1;
#X connect 24 0 22 0;
#X connect 24 1 0 0;
#X connect 24 2 1 0;
#X connect 24 3 75 0;
#X connect 24 4 47 0;
#X connect 28 0 24 0;
#X connect 29 0 24 0;
#X connect 41 0 24 0;
#X connect 42 0 24 0;
#X connect 45 0 74 0;
#X connect 46 0 73 0;
#X connect 48 0 45 0;
#X connect 49 0 46 0;
#X connect 51 0 52 0;
#X connect 52 0 54 0;
#X connect 53 0 52 1;
#X connect 58 0 24 0;
#X connect 65 0 66 0;
#X connect 66 0 72 0;
#X connect 70 0 71 0;
#X connect 71 0 76 0;
#X connect 72 0 62 0;
#X connect 72 1 64 0;
#X connect 72 2 63 0;
#X connect 73 0 33 0;
#X connect 73 1 31 0;
#X connect 73 2 32 0;
#X connect 73 3 34 0;
#X connect 74 0 26 0;
#X connect 74 1 44 0;
#X connect 74 2 36 0;
#X connect 75 0 2 0;
#X connect 75 1 3 0;
#X connect 75 2 4 0;
#X connect 75 3 5 0;
#X connect 76 0 67 0;
#X connect 76 1 69 0;
#X connect 76 2 68 0;
#X connect 76 3 77 0;
#X connect 76 4 78 0;