aboutsummaryrefslogtreecommitdiff
path: root/net/tcpclient-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcpclient-help.pd')
-rw-r--r--net/tcpclient-help.pd173
1 files changed, 84 insertions, 89 deletions
diff --git a/net/tcpclient-help.pd b/net/tcpclient-help.pd
index 1be8763..53c8523 100644
--- a/net/tcpclient-help.pd
+++ b/net/tcpclient-help.pd
@@ -1,89 +1,84 @@
-#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;
+#N canvas 162 3 1096 608 12;
+#X msg -112 56 disconnect;
+#X obj 160 370 unpack 0 0 0 0;
+#X floatatom 160 393 3 0 0 0 - - -;
+#X floatatom 191 393 3 0 0 0 - - -;
+#X floatatom 223 393 3 0 0 0 - - -;
+#X floatatom 255 393 3 0 0 0 - - -;
+#X text 120 392 from;
+#X msg -175 -7 connect 132.205.142.12 80;
+#X obj 130 318 tcpclient;
+#X obj 190 344 tgl 15 0 empty empty connected 18 7 0 8 -24198 -241291
+-1 0 1;
+#X msg -88 80 dump \$1;
+#X obj -140 65 tgl 15 0 empty empty empty 0 -6 0 8 -4034 -257985 -1
+1 1;
+#X msg 11 179 receive;
+#X msg 35 203 recv;
+#X text -59 -58 connect with an IP address and port number;
+#X msg -200 -32 connect www.concordia.ca 80;
+#X text -17 79 print received messages to main window in hexdump format
+;
+#X text 201 317 tcpclient opens a tcp socket to send and receive bytes
+on;
+#X text -217 305 See also:;
+#X obj -212 329 netclient;
+#X msg -225 -57 connect 127.0.0.1 9997;
+#X obj -212 352 tcpreceive;
+#X text -214 374 can receive messages from tcpclient;
+#X text -136 328 is what tcpclient is based on;
+#X text 181 444 Received messages are output as a list of bytes;
+#X text 202 476 Attempting to print long messages output can hang pd!
+;
+#X text 77 176 get any received data (not useful unless you need it
+faster than once per 20ms);
+#X text 220 225 semicolon-terminated string for netserver or netreceive
+;
+#X msg 59 227 send 49 127 128 51 59;
+#X obj -84 352 tcpserver;
+#X text -118 351 and;
+#X text 347 -55 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 -63 105 send ../doc/5.reference/test.txt;
+#X obj -15 129 openpanel;
+#X msg -15 153 send \$1;
+#X obj -101 114 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198
+-241291 -1;
+#X text 172 105 send a file;
+#X text 62 128 ...any file;
+#X msg 99 251 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 529 257 'send' prefix is optional;
+#X obj 130 445 spigot;
+#X obj 169 422 tgl 15 0 empty empty enable_print 18 7 0 8 -24198 -241291
+-1 1 1;
+#X obj 130 474 print >>>;
+#X text -213 475 2009/02/24 Martin Peach;
+#X msg -136 16 send 71 69 84 32 104 116 116 112 58 47 47 47 105 110
+100 101 120 46 112 104 112 13 10;
+#X text 272 24 GET http:///index.phpCRLF;
+#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 40 0;
+#X connect 8 1 1 0;
+#X connect 8 2 9 0;
+#X connect 10 0 8 0;
+#X connect 11 0 10 0;
+#X connect 12 0 8 0;
+#X connect 13 0 8 0;
+#X connect 15 0 8 0;
+#X connect 20 0 8 0;
+#X connect 28 0 8 0;
+#X connect 32 0 8 0;
+#X connect 33 0 34 0;
+#X connect 34 0 8 0;
+#X connect 35 0 33 0;
+#X connect 38 0 8 0;
+#X connect 40 0 42 0;
+#X connect 41 0 40 1;
+#X connect 44 0 8 0;