From c3f5005f943153ef5219f94ea3aee47a372a5156 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Fri, 15 Oct 2010 21:24:18 +0000 Subject: Added a method for a port message so port number can be changed on the fly. Updated the help patch. svn path=/trunk/externals/mrpeach/; revision=14233 --- net/udpreceive-help.pd | 90 ++++++++++++++++++++++++++------------------------ 1 file changed, 47 insertions(+), 43 deletions(-) (limited to 'net/udpreceive-help.pd') diff --git a/net/udpreceive-help.pd b/net/udpreceive-help.pd index 530e503..5bded46 100644 --- a/net/udpreceive-help.pd +++ b/net/udpreceive-help.pd @@ -1,43 +1,47 @@ -#N canvas 238 505 742 371 12; -#X floatatom 394 264 3 0 0 0 - - -; -#X floatatom 421 264 3 0 0 0 - - -; -#X floatatom 448 264 3 0 0 0 - - -; -#X floatatom 475 264 3 0 0 0 - - -; -#X obj 171 120 udpreceive 9997; -#X floatatom 502 265 5 0 0 0 - - -; -#X obj 394 238 unpack 0 0 0 0 0; -#X msg 171 90 status; -#X floatatom 273 185 9 0 0 0 - - -; -#X obj 454 211 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 0 1 -; -#X floatatom 333 211 9 0 0 0 - - -; -#X text -30 90 get status on right outlet:; -#X text 166 185 bytes received:; -#X text 181 209 total bytes received:; -#X text 351 263 from:; -#X text 299 97 Specify a multicast address (from 224.0.0.0 to 239.255.255.255) -to use multicasting; -#X text 162 57 Creation arguments: port number to listen on (required) -; -#X text 124 33 [udpreceive] receives bytes over a udp connection.; -#X obj 171 254 spigot; -#X obj 210 234 tgl 15 0 empty empty enable_print: -77 8 0 10 -4034 --1 -1 0 1; -#X obj 171 279 print received; -#X obj 273 152 route received total from multicast; -#X text 301 75 IP address to listen on (optional); -#X text 466 320 Martin Peach 2010/08/05; -#X connect 4 0 18 0; -#X connect 4 1 21 0; -#X connect 6 0 0 0; -#X connect 6 1 1 0; -#X connect 6 2 2 0; -#X connect 6 3 3 0; -#X connect 6 4 5 0; -#X connect 7 0 4 0; -#X connect 18 0 20 0; -#X connect 19 0 18 1; -#X connect 21 0 8 0; -#X connect 21 1 10 0; -#X connect 21 2 6 0; -#X connect 21 3 9 0; +#N canvas 238 314 742 409 12; +#X floatatom 414 304 3 0 0 0 - - -; +#X floatatom 441 304 3 0 0 0 - - -; +#X floatatom 468 304 3 0 0 0 - - -; +#X floatatom 495 304 3 0 0 0 - - -; +#X obj 191 160 udpreceive 9997; +#X floatatom 522 305 5 0 0 0 - - -; +#X obj 414 278 unpack 0 0 0 0 0; +#X msg 191 90 status; +#X floatatom 293 225 9 0 0 0 - - -; +#X obj 474 251 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 0 1 +; +#X floatatom 353 251 9 0 0 0 - - -; +#X text -10 90 get status on right outlet:; +#X text 186 225 bytes received:; +#X text 201 249 total bytes received:; +#X text 371 303 from:; +#X text 293 78 Specify a multicast address (from 224.0.0.0 to 239.255.255.255) +to use multicasting; +#X text 36 38 Creation arguments: port number to listen on (required) +; +#X obj 191 294 spigot; +#X obj 230 274 tgl 15 0 empty empty enable_print: -77 8 0 10 -4034 +-1 -1 0 1; +#X obj 191 319 print received; +#X obj 293 192 route received total from multicast; +#X text 175 56 IP address to listen on (optional); +#X msg 202 129 port 9998; +#X text 276 127 change port to listen on; +#X text 486 360 Martin Peach 2010/10/15; +#X text -12 3 [udpreceive] receives datagrams over a udp connection +and outputs them as raw bytes.; +#X connect 4 0 17 0; +#X connect 4 1 20 0; +#X connect 6 0 0 0; +#X connect 6 1 1 0; +#X connect 6 2 2 0; +#X connect 6 3 3 0; +#X connect 6 4 5 0; +#X connect 7 0 4 0; +#X connect 17 0 19 0; +#X connect 18 0 17 1; +#X connect 20 0 8 0; +#X connect 20 1 10 0; +#X connect 20 2 6 0; +#X connect 20 3 9 0; +#X connect 22 0 4 0; -- cgit v1.2.1