aboutsummaryrefslogtreecommitdiff
path: root/net/tcpserver-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcpserver-help.pd')
-rw-r--r--net/tcpserver-help.pd102
1 files changed, 54 insertions, 48 deletions
diff --git a/net/tcpserver-help.pd b/net/tcpserver-help.pd
index b3fef7d..0a12bd5 100644
--- a/net/tcpserver-help.pd
+++ b/net/tcpserver-help.pd
@@ -1,20 +1,20 @@
-#N canvas 8 158 1187 613 12;
+#N canvas 278 60 1204 806 12;
#X msg 143 -36 print;
-#X floatatom 322 164 5 0 0 0 - - -;
-#X floatatom 346 214 5 0 0 0 - - -;
-#X obj 370 165 unpack 0 0 0 0;
-#X floatatom 370 188 3 0 0 0 - - -;
-#X floatatom 401 188 3 0 0 0 - - -;
-#X floatatom 433 188 3 0 0 0 - - -;
-#X floatatom 467 188 3 0 0 0 - - -;
-#X text 327 187 from;
-#X text 238 164 connections;
-#X obj 299 289 print received;
+#X floatatom 448 290 5 0 0 0 - - -;
+#X floatatom 472 340 5 0 0 0 - - -;
+#X obj 496 291 unpack 0 0 0 0;
+#X floatatom 496 314 3 0 0 0 - - -;
+#X floatatom 527 314 3 0 0 0 - - -;
+#X floatatom 559 314 3 0 0 0 - - -;
+#X floatatom 593 314 3 0 0 0 - - -;
+#X text 453 313 from;
+#X text 364 290 connections;
+#X obj 425 415 print received;
#X msg 239 60 client 1 1 2 3;
#X msg 167 -12 broadcast 1 2 3;
#X text 195 -35 list of connections;
#X text 290 -12 send to all clients;
-#X text 276 214 on socket;
+#X text 402 340 on socket;
#X msg 93 -86 send 504 1 2 3;
#X text 204 -91 send to client on socket 504;
#X msg 714 -228 client 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
@@ -53,7 +53,7 @@
#X msg 63 -116 disconnectsocket \$1;
#X msg 20 -159 disconnectclient \$1;
#X obj 714 238 s toserver;
-#X obj 197 120 r toserver;
+#X obj 242 163 r toserver;
#X floatatom 247 -198 5 0 0 0 - - -;
#X obj 225 -179 f;
#X obj 225 -198 bng 15 250 50 0 empty empty empty 17 7 0 10 -258699
@@ -63,49 +63,53 @@
#X obj 267 -155 bng 15 250 50 0 empty empty empty 17 7 0 10 -258699
-241291 -1;
#X text -5 -136 disconnect by socket or client number;
-#X text 406 139 argument is port number;
-#X text -30 141 Received messages are output as lists of bytes;
-#X text 100 321 ***WARNING*** Attempting to print long messages can
+#X text 532 265 argument is port number;
+#X text 96 267 Received messages are output as lists of bytes;
+#X text 35 371 ***WARNING*** Attempting to print long messages can
hang pd!;
-#X obj 299 267 spigot;
-#X obj 338 247 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699
+#X obj 425 393 spigot;
+#X obj 464 373 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699
-45076 0 1;
#X msg 263 84 dump \$1;
#X obj 87 69 tgl 15 0 empty empty enable_dump 17 7 0 10 -4034 -257985
--1 0 1;
+-1 1 1;
#X text 19 19 dump received;
#X text 19 35 characters to main;
#X text 19 50 window in hexdump;
#X text 19 66 format:;
-#X obj 299 140 tcpserver 9997;
+#X obj 425 266 tcpserver 9997;
#X msg -28 -207 client 1 test.txt;
-#X text 839 323 2009/02/24 Martin Peach;
#X text 714 -253 [tcpserver] sends and receives bytes on [0...255]
;
#X text 262 -243 [tcpserver] waits for clients to connect to its port.
;
#X text -33 -228 send a file to client 1;
#X msg 287 108 client 1 72 101 108 108 111 13 10;
-#X floatatom 562 212 9 0 0 0 - - -;
-#X obj 611 190 print status;
-#X obj 495 187 unpack 0 0;
-#X floatatom 523 235 5 0 0 0 - - -;
-#X text 453 235 to_client;
+#X floatatom 688 338 9 0 0 0 - - -;
+#X obj 737 313 print status;
+#X obj 621 313 unpack 0 0;
+#X floatatom 649 361 5 0 0 0 - - -;
+#X text 579 361 to_client;
#X msg 215 36 client;
#X msg 192 13 client 1;
#X text 260 12 get state of client 1;
-#X text 267 36 get sate of all clients;
#X text 353 60 send (binary) 1 2 3 to client 1;
-#X obj 495 160 route sent client;
-#X floatatom 679 317 5 0 0 0 - - -;
-#X symbolatom 720 290 20 0 0 0 - - -;
-#X text 631 316 socket;
-#X text 697 289 ip;
-#X obj 639 266 unpack 0 0 s;
-#X floatatom 639 290 5 0 0 0 - - -;
-#X text 591 289 client;
-#X text 629 214 bytes;
-#X text 522 212 sent;
+#X obj 621 286 route sent client;
+#X floatatom 796 443 5 0 0 0 - - -;
+#X symbolatom 828 416 20 0 0 0 - - -;
+#X floatatom 765 416 5 0 0 0 - - -;
+#X text 755 340 bytes;
+#X text 648 338 sent;
+#X msg 313 134 clientbuf 1 65536;
+#X text 35 450 2009/03/01 Martin Peach;
+#X obj 765 392 unpack 0 0 s 0;
+#X floatatom 860 464 7 0 0 0 - - -;
+#X text 705 464 length of send buffer:;
+#X text 745 442 socket:;
+#X text 714 415 client:;
+#X text 805 415 ip:;
+#X text 443 133 set send-buffer size for client 1;
+#X text 267 36 get state of all clients (list on right outlet);
#X connect 0 0 60 0;
#X connect 3 0 4 0;
#X connect 3 1 5 0;
@@ -148,16 +152,18 @@ hang pd!;
#X connect 60 1 1 0;
#X connect 60 2 2 0;
#X connect 60 3 3 0;
-#X connect 60 4 77 0;
+#X connect 60 4 75 0;
#X connect 61 0 60 0;
-#X connect 66 0 60 0;
-#X connect 69 0 70 0;
-#X connect 69 1 67 0;
+#X connect 65 0 60 0;
+#X connect 68 0 69 0;
+#X connect 68 1 66 0;
+#X connect 71 0 60 0;
#X connect 72 0 60 0;
-#X connect 73 0 60 0;
-#X connect 77 0 69 0;
-#X connect 77 1 82 0;
-#X connect 77 2 68 0;
-#X connect 82 0 83 0;
-#X connect 82 1 78 0;
-#X connect 82 2 79 0;
+#X connect 75 0 68 0;
+#X connect 75 1 83 0;
+#X connect 75 2 67 0;
+#X connect 81 0 60 0;
+#X connect 83 0 78 0;
+#X connect 83 1 76 0;
+#X connect 83 2 77 0;
+#X connect 83 3 84 0;