aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2007-06-20 21:10:31 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2007-06-20 21:10:31 +0000
commit170a267f413d2c0777f360d8e9d4a1f8f651cc7a (patch)
tree6959160a8591de1ebe881adf60b3733339592d4b
parent50bc6c7b8a42290aa79fd2cb95ece1e4a581a00b (diff)
Updated
svn path=/trunk/externals/mrpeach/; revision=7790
-rwxr-xr-xnet/tcpclient-help.pd172
-rwxr-xr-xnet/tcpsend-help.pd59
-rwxr-xr-xnet/tcpserver-help.pd170
-rwxr-xr-xnet/udpsend-help.pd59
4 files changed, 238 insertions, 222 deletions
diff --git a/net/tcpclient-help.pd b/net/tcpclient-help.pd
index e065c88..1be8763 100755
--- a/net/tcpclient-help.pd
+++ b/net/tcpclient-help.pd
@@ -1,83 +1,89 @@
-#N canvas 89 21 1096 505 12;
-#X msg 61 93 disconnect;
-#X obj 78 222 unpack 0 0 0 0;
-#X floatatom 78 245 3 0 0 0 - - -;
-#X floatatom 113 245 3 0 0 0 - - -;
-#X floatatom 149 245 3 0 0 0 - - -;
-#X floatatom 185 245 3 0 0 0 - - -;
-#X text 35 244 from;
-#X msg 45 30 connect 132.205.142.12 80;
-#X obj 45 170 tcpclient;
-#X msg 55 53 send 71 69 84 32 104 116 116 112 58 47 47 47 105 110 100
-101 120 46 104 116 109 108 13 10;
-#X text 508 53 GET http:///index.html CRLF;
-#X obj 112 196 tgl 15 0 empty empty connected 18 7 0 8 -24198 -241291
--1 0 1;
-#X msg 160 115 dump \$1;
-#X obj 160 96 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
-;
-#X msg 231 139 receive;
-#X msg 295 139 recv;
-#X text 214 -21 connect with an IP address and port number;
-#X msg 23 5 connect www.concordia.ca 80;
-#X text 231 114 print received messages to main window in hexdump format
-;
-#X text 131 171 tcpclient opens a tcp socket to send and receive bytes
-on;
-#X text 276 263 See also:;
-#X obj 354 263 netclient;
-#X msg 10 -20 connect 127.0.0.1 9997;
-#X obj 354 286 tcpreceive;
-#X text 574 285 can receive messages from tcpclient;
-#X text 442 263 is what tcpclient is based on;
-#X text 21 325 Received messages are output as a list of bytes;
-#X text 20 343 Attempting to print long messages output can hang pd!
-;
-#X text 343 132 get any received data (not useful unless you need it
-faster than once per 20ms);
-#X text 445 93 semicolon-terminated string for netserver or netreceive
-;
-#X msg 249 93 send 49 127 128 51 59;
-#X obj -86 317 textfile;
-#X msg -86 213 clear;
-#X msg -67 285 write tcpclientreceived.txt;
-#X obj -73 254 prepend add;
-#X obj -86 186 loadbang;
-#X obj 482 286 tcpserver;
-#X text 448 285 and;
-#X text -71 -82 tcpclient 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 msg 515 9 send ../doc/5.reference/test.txt;
-#X obj 761 51 openpanel;
-#X msg 761 75 send \$1;
-#X obj 761 32 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291
--1;
-#X text 781 8 send a file;
-#X text 843 50 ...any file;
-#X text 575 342 2006/11/07 Martin Peach;
-#X connect 0 0 8 0;
-#X connect 1 0 2 0;
-#X connect 1 1 3 0;
-#X connect 1 2 4 0;
-#X connect 1 3 5 0;
-#X connect 7 0 8 0;
-#X connect 8 0 34 0;
-#X connect 8 1 1 0;
-#X connect 8 2 11 0;
-#X connect 9 0 8 0;
-#X connect 12 0 8 0;
-#X connect 13 0 12 0;
-#X connect 14 0 8 0;
-#X connect 15 0 8 0;
-#X connect 17 0 8 0;
-#X connect 22 0 8 0;
-#X connect 30 0 8 0;
-#X connect 32 0 31 0;
-#X connect 33 0 31 0;
-#X connect 34 0 31 0;
-#X connect 35 0 32 0;
-#X connect 39 0 8 0;
-#X connect 40 0 41 0;
-#X connect 41 0 8 0;
-#X connect 42 0 40 0;
+#N canvas 89 21 1096 650 12;
+#X msg 61 93 disconnect;
+#X obj 85 292 unpack 0 0 0 0;
+#X floatatom 85 315 3 0 0 0 - - -;
+#X floatatom 120 315 3 0 0 0 - - -;
+#X floatatom 156 315 3 0 0 0 - - -;
+#X floatatom 192 315 3 0 0 0 - - -;
+#X text 42 314 from;
+#X msg 45 30 connect 132.205.142.12 80;
+#X obj 52 240 tcpclient;
+#X msg 55 53 send 71 69 84 32 104 116 116 112 58 47 47 47 105 110 100
+101 120 46 104 116 109 108 13 10;
+#X text 324 38 GET http:///index.html CRLF;
+#X obj 119 266 tgl 15 0 empty empty connected 18 7 0 8 -24198 -241291
+-1 1 1;
+#X msg 160 115 dump \$1;
+#X obj 160 96 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X msg 235 153 receive;
+#X msg 311 154 recv;
+#X text 214 -21 connect with an IP address and port number;
+#X msg 23 5 connect www.concordia.ca 80;
+#X text 231 114 print received messages to main window in hexdump format
+;
+#X text 138 241 tcpclient opens a tcp socket to send and receive bytes
+on;
+#X text 276 263 See also:;
+#X obj 354 263 netclient;
+#X msg 10 -20 connect 127.0.0.1 9997;
+#X obj 354 286 tcpreceive;
+#X text 574 285 can receive messages from tcpclient;
+#X text 442 263 is what tcpclient is based on;
+#X text 28 395 Received messages are output as a list of bytes;
+#X text 27 413 Attempting to print long messages output can hang pd!
+;
+#X text 359 147 get any received data (not useful unless you need it
+faster than once per 20ms);
+#X text 445 93 semicolon-terminated string for netserver or netreceive
+;
+#X msg 249 93 send 49 127 128 51 59;
+#X obj -77 460 textfile;
+#X msg -79 283 clear;
+#X msg 6 367 write tcpclientreceived.txt;
+#X obj -79 256 loadbang;
+#X obj 482 286 tcpserver;
+#X text 448 285 and;
+#X text -71 -82 tcpclient 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 msg 515 9 send ../doc/5.reference/test.txt;
+#X obj 761 51 openpanel;
+#X msg 761 75 send \$1;
+#X obj 761 32 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291
+-1;
+#X text 813 9 send a file;
+#X text 843 50 ...any file;
+#X msg 249 196 71 69 84 32 104 116 116 112 58 47 47 47 105 110 100
+101 120 46 104 116 109 108 13 10;
+#X text 788 199 'send' prefix is optional;
+#X obj -51 339 list prepend add;
+#X obj -69 401 list trim;
+#X text 575 342 2007/06/20 Martin Peach;
+#X connect 0 0 8 0;
+#X connect 1 0 2 0;
+#X connect 1 1 3 0;
+#X connect 1 2 4 0;
+#X connect 1 3 5 0;
+#X connect 7 0 8 0;
+#X connect 8 0 46 0;
+#X connect 8 1 1 0;
+#X connect 8 2 11 0;
+#X connect 9 0 8 0;
+#X connect 12 0 8 0;
+#X connect 13 0 12 0;
+#X connect 14 0 8 0;
+#X connect 15 0 8 0;
+#X connect 17 0 8 0;
+#X connect 22 0 8 0;
+#X connect 30 0 8 0;
+#X connect 32 0 31 0;
+#X connect 33 0 31 0;
+#X connect 34 0 32 0;
+#X connect 38 0 8 0;
+#X connect 39 0 40 0;
+#X connect 40 0 8 0;
+#X connect 41 0 39 0;
+#X connect 44 0 8 0;
+#X connect 46 0 47 0;
+#X connect 47 0 31 0;
diff --git a/net/tcpsend-help.pd b/net/tcpsend-help.pd
index 100c577..8b3ee6d 100755
--- a/net/tcpsend-help.pd
+++ b/net/tcpsend-help.pd
@@ -1,28 +1,31 @@
-#N canvas 407 433 559 320 12;
-#X msg 92 191 disconnect;
-#X msg 169 65 connect 127.0.0.1 9997;
-#X obj 60 253 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291
--1 0 1;
-#X obj 60 230 tcpsend;
-#X text 373 66 <--first;
-#X msg 30 97 send 0 1 2 3;
-#X text 8 7 tcpsend sends bytes over a tcp connection.;
-#X text 8 30 Used in conjunction with packOSC will send OSC over tcp
-;
-#X msg 97 131 send ../doc/5.reference/test.txt;
-#X obj 340 175 openpanel;
-#X msg 340 199 send \$1;
-#X obj 340 156 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291
--1;
-#X text 363 130 send a file;
-#X text 422 174 ...any file;
-#X text 135 95 send raw data;
-#X text 291 260 Martin Peach 2006/11/07;
-#X connect 0 0 3 0;
-#X connect 1 0 3 0;
-#X connect 3 0 2 0;
-#X connect 5 0 3 0;
-#X connect 8 0 3 0;
-#X connect 9 0 10 0;
-#X connect 10 0 3 0;
-#X connect 11 0 9 0;
+#N canvas 0 94 559 320 12;
+#X msg 85 175 disconnect;
+#X msg 13 59 connect 127.0.0.1 9997;
+#X obj 60 253 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291
+-1 0 1;
+#X obj 60 230 tcpsend;
+#X text 217 60 <--first;
+#X msg 32 83 send 0 1 2 3;
+#X text 8 7 tcpsend sends bytes over a tcp connection.;
+#X text 8 30 Used in conjunction with packOSC will send OSC over tcp
+;
+#X msg 50 106 send ../doc/5.reference/test.txt;
+#X obj 385 144 openpanel;
+#X msg 385 168 send \$1;
+#X obj 385 125 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291
+-1;
+#X text 344 105 send a file;
+#X text 407 124 ...any file;
+#X text 148 84 send raw data;
+#X text 137 134 'send' prefix is optional;
+#X msg 61 133 99 98 97;
+#X text 291 260 Martin Peach 2007/06/20;
+#X connect 0 0 3 0;
+#X connect 1 0 3 0;
+#X connect 3 0 2 0;
+#X connect 5 0 3 0;
+#X connect 8 0 3 0;
+#X connect 9 0 10 0;
+#X connect 10 0 3 0;
+#X connect 11 0 9 0;
+#X connect 16 0 3 0;
diff --git a/net/tcpserver-help.pd b/net/tcpserver-help.pd
index 6d2d7ad..bc20123 100755
--- a/net/tcpserver-help.pd
+++ b/net/tcpserver-help.pd
@@ -1,83 +1,87 @@
-#N canvas 268 239 1119 648 12;
-#X msg 18 -6 print;
-#X obj 136 109 tcpserver 9997;
-#X floatatom 171 237 5 0 0 0 - - -;
-#X floatatom 286 191 5 0 0 0 - - -;
-#X obj 324 138 unpack 0 0 0 0;
-#X floatatom 324 161 3 0 0 0 - - -;
-#X floatatom 359 161 3 0 0 0 - - -;
-#X floatatom 395 161 3 0 0 0 - - -;
-#X floatatom 431 161 3 0 0 0 - - -;
-#X text 281 160 from;
-#X text 224 236 connections;
-#X obj 43 161 print received;
-#X msg 118 45 client 1 1 2 3;
-#X msg 86 20 broadcast 1 2 3;
-#X text 69 -6 list of connections;
-#X text 226 19 send to all clients;
-#X text 249 45 send to client 1;
-#X text 347 254 2006/05/11 Martin Peach;
-#X text 199 191 on socket;
-#X msg 140 71 send 504 1 2 3;
-#X text 273 71 send to client on socket 504;
-#X msg 564 -365 client 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
-18 19;
-#X msg 563 -340 client 1 20 21 22 23 24 25 26 27 28 29 30 31 32 33
-34 35 36 37 38 39;
-#X msg 563 -297 client 1 40 41 42 43 44 45 46 47 48 49 50 51 52 53
-54 55 56 57 58 59;
-#X msg 563 -255 client 1 60 61 62 63 64 65 66 67 68 69 70 71 72 73
-74 75 76 77 78 79;
-#X msg 561 -213 client 1 80 81 82 83 84 85 86 87 88 89 90 91 92 93
-94 95 96 97 98 99;
-#X msg 560 -170 client 1 100 101 102 103 104 105 106 107 108 109 110
-111 112 113 114 115 116 117 118 119;
-#X msg 559 -127 client 1 120 121 122 123 124 125 126 127 138 139 140
-141 142 143 144 145 146 147 148 149;
-#X msg 559 -84 client 1 150 151 152 153 154 155 156 157 158 159 160
-161 162 163 164 165 166 167 168 169;
-#X msg 559 -39 client 1 170 171 172 173 174 175 176 177 178 179 180
-181 182 183 184 185 186 187 188 189;
-#X msg 558 5 client 1 190 191 192 193 194 195 196 197 198 199 200 201
-202 203 204 205 206 207 208 209;
-#X msg 558 47 client 1 210 211 212 213 214 215 216 217 218 219 220
-221 222 223 224 225 226 227 228 229;
-#X msg 558 89 client 1 230 231 232 233 234 235 236 237 238 239 240
-241 242 243 244 245 246 247 248 249;
-#X msg 558 134 client 1 250 251 252 253 254 255;
-#X obj 305 -219 openpanel;
-#X obj 305 -238 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198
--241291 -1;
-#X text 325 -262 send a file;
-#X text 387 -220 ...any file;
-#X msg 58 -261 client 1 ../doc/5.reference/test.txt;
-#X msg 305 -195 client 1 \$1;
-#X connect 0 0 1 0;
-#X connect 1 0 11 0;
-#X connect 1 1 2 0;
-#X connect 1 2 3 0;
-#X connect 1 3 4 0;
-#X connect 4 0 5 0;
-#X connect 4 1 6 0;
-#X connect 4 2 7 0;
-#X connect 4 3 8 0;
-#X connect 12 0 1 0;
-#X connect 13 0 1 0;
-#X connect 19 0 1 0;
-#X connect 21 0 1 0;
-#X connect 22 0 1 0;
-#X connect 23 0 1 0;
-#X connect 24 0 1 0;
-#X connect 25 0 1 0;
-#X connect 26 0 1 0;
-#X connect 27 0 1 0;
-#X connect 28 0 1 0;
-#X connect 29 0 1 0;
-#X connect 30 0 1 0;
-#X connect 31 0 1 0;
-#X connect 32 0 1 0;
-#X connect 33 0 1 0;
-#X connect 34 0 39 0;
-#X connect 35 0 34 0;
-#X connect 38 0 1 0;
-#X connect 39 0 1 0;
+#N canvas 74 160 1119 648 12;
+#X msg 18 -6 print;
+#X obj 136 109 tcpserver 9997;
+#X floatatom 171 237 5 0 0 0 - - -;
+#X floatatom 286 191 5 0 0 0 - - -;
+#X obj 324 138 unpack 0 0 0 0;
+#X floatatom 324 161 3 0 0 0 - - -;
+#X floatatom 359 161 3 0 0 0 - - -;
+#X floatatom 395 161 3 0 0 0 - - -;
+#X floatatom 431 161 3 0 0 0 - - -;
+#X text 281 160 from;
+#X text 224 236 connections;
+#X obj 43 161 print received;
+#X msg 118 45 client 1 1 2 3;
+#X msg 86 20 broadcast 1 2 3;
+#X text 69 -6 list of connections;
+#X text 226 19 send to all clients;
+#X text 249 45 send to client 1;
+#X text 199 191 on socket;
+#X msg 140 71 send 504 1 2 3;
+#X text 273 71 send to client on socket 504;
+#X msg 564 -365 client 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
+18 19;
+#X msg 563 -340 client 1 20 21 22 23 24 25 26 27 28 29 30 31 32 33
+34 35 36 37 38 39;
+#X msg 563 -297 client 1 40 41 42 43 44 45 46 47 48 49 50 51 52 53
+54 55 56 57 58 59;
+#X msg 563 -255 client 1 60 61 62 63 64 65 66 67 68 69 70 71 72 73
+74 75 76 77 78 79;
+#X msg 561 -213 client 1 80 81 82 83 84 85 86 87 88 89 90 91 92 93
+94 95 96 97 98 99;
+#X msg 560 -170 client 1 100 101 102 103 104 105 106 107 108 109 110
+111 112 113 114 115 116 117 118 119;
+#X msg 559 -127 client 1 120 121 122 123 124 125 126 127 138 139 140
+141 142 143 144 145 146 147 148 149;
+#X msg 559 -84 client 1 150 151 152 153 154 155 156 157 158 159 160
+161 162 163 164 165 166 167 168 169;
+#X msg 559 -39 client 1 170 171 172 173 174 175 176 177 178 179 180
+181 182 183 184 185 186 187 188 189;
+#X msg 558 5 client 1 190 191 192 193 194 195 196 197 198 199 200 201
+202 203 204 205 206 207 208 209;
+#X msg 558 47 client 1 210 211 212 213 214 215 216 217 218 219 220
+221 222 223 224 225 226 227 228 229;
+#X msg 558 89 client 1 230 231 232 233 234 235 236 237 238 239 240
+241 242 243 244 245 246 247 248 249;
+#X msg 558 134 client 1 250 251 252 253 254 255;
+#X obj 91 -216 openpanel;
+#X obj 91 -235 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291
+-1;
+#X text 391 -262 send a file;
+#X text 173 -217 ...any file;
+#X msg 58 -261 client 1 ../doc/5.reference/test.txt;
+#X msg 91 -192 client 1 \$1;
+#X msg 160 -89 10 1 2 43;
+#X text 252 -88 'send' prefix is optional;
+#X text 167 -68 (the first number is socket number);
+#X text 347 254 2007/06/20 Martin Peach;
+#X connect 0 0 1 0;
+#X connect 1 0 11 0;
+#X connect 1 1 2 0;
+#X connect 1 2 3 0;
+#X connect 1 3 4 0;
+#X connect 4 0 5 0;
+#X connect 4 1 6 0;
+#X connect 4 2 7 0;
+#X connect 4 3 8 0;
+#X connect 12 0 1 0;
+#X connect 13 0 1 0;
+#X connect 18 0 1 0;
+#X connect 20 0 1 0;
+#X connect 21 0 1 0;
+#X connect 22 0 1 0;
+#X connect 23 0 1 0;
+#X connect 24 0 1 0;
+#X connect 25 0 1 0;
+#X connect 26 0 1 0;
+#X connect 27 0 1 0;
+#X connect 28 0 1 0;
+#X connect 29 0 1 0;
+#X connect 30 0 1 0;
+#X connect 31 0 1 0;
+#X connect 32 0 1 0;
+#X connect 33 0 38 0;
+#X connect 34 0 33 0;
+#X connect 37 0 1 0;
+#X connect 38 0 1 0;
+#X connect 39 0 1 0;
diff --git a/net/udpsend-help.pd b/net/udpsend-help.pd
index 0114bcb..0114f07 100755
--- a/net/udpsend-help.pd
+++ b/net/udpsend-help.pd
@@ -1,28 +1,31 @@
-#N canvas 609 110 590 348 12;
-#X msg 145 161 disconnect;
-#X msg 169 63 connect 127.0.0.1 9997;
-#X obj 16 306 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291
--1 1 1;
-#X text 373 64 <--first;
-#X msg 16 128 send 0 1 2 3;
-#X text 8 5 udpsend sends bytes over a udp connection.;
-#X text 8 28 Used in conjunction with packOSC will send OSC over udp
-;
-#X obj 16 283 udpsend;
-#X msg 186 93 send ../doc/5.reference/test.txt;
-#X obj 331 138 openpanel;
-#X msg 331 162 send \$1;
-#X obj 331 119 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291
--1;
-#X text 452 92 send a file;
-#X text 121 127 send raw data;
-#X text 413 137 ...any file;
-#X text 234 226 Martin Peach 2006/11/07;
-#X connect 0 0 7 0;
-#X connect 1 0 7 0;
-#X connect 4 0 7 0;
-#X connect 7 0 2 0;
-#X connect 8 0 7 0;
-#X connect 9 0 10 0;
-#X connect 10 0 7 0;
-#X connect 11 0 9 0;
+#N canvas 609 110 590 348 12;
+#X msg 72 182 disconnect;
+#X msg 16 59 connect 127.0.0.1 9997;
+#X obj 16 306 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291
+-1 1 1;
+#X text 220 60 <--first;
+#X msg 25 81 send 0 1 2 3;
+#X text 8 5 udpsend sends bytes over a udp connection.;
+#X text 8 28 Used in conjunction with packOSC will send OSC over udp
+;
+#X obj 16 283 udpsend;
+#X msg 32 103 send ../doc/5.reference/test.txt;
+#X obj 387 151 openpanel;
+#X msg 387 175 send \$1;
+#X obj 387 132 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291
+-1;
+#X text 327 104 send a file;
+#X text 141 81 send raw data;
+#X text 410 130 ...any file;
+#X msg 40 126 99 98 97;
+#X text 361 311 Martin Peach 2007/06/20;
+#X text 120 126 'send' prefix is optional;
+#X connect 0 0 7 0;
+#X connect 1 0 7 0;
+#X connect 4 0 7 0;
+#X connect 7 0 2 0;
+#X connect 8 0 7 0;
+#X connect 9 0 10 0;
+#X connect 10 0 7 0;
+#X connect 11 0 9 0;
+#X connect 15 0 7 0;