From f6046dda35eb95fcf27c54bc5869692d40ae17e8 Mon Sep 17 00:00:00 2001 From: Roman Haefeli Date: Fri, 8 Oct 2010 22:08:13 +0000 Subject: added help for [udpserver] svn path=/trunk/externals/iem/iemnet/; revision=14206 --- udpserver-help.pd | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 udpserver-help.pd diff --git a/udpserver-help.pd b/udpserver-help.pd new file mode 100644 index 0000000..8ffc2c4 --- /dev/null +++ b/udpserver-help.pd @@ -0,0 +1,124 @@ +#N canvas 3 45 858 382 12; +#X floatatom 78 159 5 0 0 0 - - -; +#X floatatom 102 189 5 0 0 0 - - -; +#X floatatom 126 239 3 0 0 0 - - -; +#X floatatom 153 239 3 0 0 0 - - -; +#X floatatom 180 239 3 0 0 0 - - -; +#X floatatom 207 239 3 0 0 0 - - -; +#X text 89 238 from; +#X text -6 159 connections; +#X msg 55 61 broadcast 1 2 3; +#X text 173 62 send to all clients; +#X text 32 189 on socket; +#X text 162 125 argument is port number; +#X text 52 350 ***WARNING*** Attempting to print long messages can +hang pd!; +#X obj 55 290 spigot; +#X obj 94 270 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699 +-45076 0 1; +#X text 54 333 Received messages are output as stream of bytes; +#X msg 70 94 11 216 43; +#X obj 304 288 spigot; +#X obj 343 268 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699 +-45076 0 1; +#N canvas 3 45 768 526 getting.info 0; +#X floatatom 99 162 5 0 0 0 - - -; +#X text 139 163 to_client; +#X floatatom 390 165 3 0 0 0 - - -; +#X symbolatom 422 140 15 0 0 0 - - -; +#X floatatom 359 189 5 0 0 0 - - -; +#X floatatom 454 115 7 0 0 0 - - -; +#X floatatom 180 117 5 0 0 0 - - -; +#X text 223 118 on_socket; +#X floatatom 139 141 5 0 0 0 - - -; +#X obj 99 62 route sent; +#X obj 359 61 route client; +#X text 533 141 ip; +#X text 505 115 port; +#X text 416 165 socket; +#X text 400 191 client; +#X text 184 140 sent_bytes; +#X floatatom 99 342 5 0 0 0 - - -; +#X floatatom 180 297 5 0 0 0 - - -; +#X floatatom 139 321 5 0 0 0 - - -; +#X obj 99 242 route bufsize; +#X floatatom 93 501 3 0 0 0 - - -; +#X floatatom 147 501 3 0 0 0 - - -; +#X floatatom 120 501 3 0 0 0 - - -; +#X obj 93 421 route address; +#X obj 99 271 unpack f f f; +#X obj 359 87 unpack f f s f; +#X obj 99 91 unpack f f f; +#X obj 93 450 unpack f f f f f; +#X floatatom 174 501 3 0 0 0 - - -; +#X floatatom 202 475 6 0 0 0 - - -; +#X text 200 501 ip; +#X text 248 475 port; +#X text 139 342 socket; +#X text 178 322 insize (bytes); +#X text 218 298 outsize (bytes); +#X text 361 261 info about current inqueue/outqueue; +#X text 354 435 NOTE: outlets #3 and #4 are for compatibility with +mrpeach's net obects. You can get all information via outlet #5 as +well; +#X obj 99 36 r \$0.udpserver.o5; +#X obj 99 216 r \$0.udpserver.o5; +#X obj 93 395 r \$0.udpserver.o5; +#X obj 359 35 r \$0.udpserver.o5; +#X connect 9 0 26 0; +#X connect 10 0 25 0; +#X connect 19 0 24 0; +#X connect 23 0 27 0; +#X connect 24 0 16 0; +#X connect 24 1 18 0; +#X connect 24 2 17 0; +#X connect 25 0 4 0; +#X connect 25 1 2 0; +#X connect 25 2 3 0; +#X connect 25 3 5 0; +#X connect 26 0 0 0; +#X connect 26 1 8 0; +#X connect 26 2 6 0; +#X connect 27 0 20 0; +#X connect 27 1 22 0; +#X connect 27 2 21 0; +#X connect 27 3 28 0; +#X connect 27 4 29 0; +#X connect 37 0 9 0; +#X connect 38 0 19 0; +#X connect 39 0 23 0; +#X connect 40 0 10 0; +#X restore 530 236 pd getting.info; +#X text 523 306 copyright (c) 2009 Martin Peach; +#X text 523 323 copyright (c) 2010 Roman Haefeli; +#X text 523 340 copyright (c) 2010 IOhannes m zmoelnig; +#X text 510 74 check also:; +#X text 21 6 [udpserver] waits for clients to connect to its port. +; +#X obj 55 126 udpserver 9997; +#X obj 513 96 udpreceive; +#X obj 513 121 udpclient; +#X obj 150 153 s \$0.udpserver.o5; +#X obj 304 243 r \$0.udpserver.o5; +#X obj 126 216 unpack f f f f f; +#X floatatom 235 240 6 0 0 0 - - -; +#X obj 55 313 print udpserver:received; +#X obj 304 314 print udpserver:status; +#X text 145 94 or without 'broadcast' selector; +#X connect 8 0 25 0; +#X connect 13 0 32 0; +#X connect 14 0 13 1; +#X connect 16 0 25 0; +#X connect 17 0 33 0; +#X connect 18 0 17 1; +#X connect 25 0 13 0; +#X connect 25 1 0 0; +#X connect 25 2 1 0; +#X connect 25 3 30 0; +#X connect 25 4 28 0; +#X connect 29 0 17 0; +#X connect 30 0 2 0; +#X connect 30 1 3 0; +#X connect 30 2 4 0; +#X connect 30 3 5 0; +#X connect 30 4 31 0; -- cgit v1.2.1