udpsend-help.pd 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #N canvas 1 53 898 550 12;
  2. #X msg 198 118 disconnect;
  3. #X msg 17 -63 connect 127.0.0.1 9997;
  4. #X obj 455 418 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291
  5. -1 0 1;
  6. #X msg 39 -41 send 0 1 2 3;
  7. #X text 150 395 udpsend sends bytes over a udp connection.;
  8. #X text 227 445 Used in conjunction with packOSC will send OSC over
  9. udp;
  10. #X obj 455 395 udpsend;
  11. #X msg 61 -19 send examples/test.txt;
  12. #X obj 131 27 openpanel;
  13. #X msg 131 51 send \$1;
  14. #X obj 131 8 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291
  15. -1;
  16. #X text -28 -18 send a file;
  17. #X text 137 -42 send raw data;
  18. #X text 151 7 ...any file;
  19. #X msg 164 84 99 98 97;
  20. #X text 229 84 'send' prefix is optional;
  21. #X msg 301 221 multicast_interface 192.168.0.88;
  22. #X msg 276 196 multicast_interface eth1;
  23. #X msg 228 148 connect 239.200.200.200 9977;
  24. #X text 181 -64 <--first connect to a host and port;
  25. #X text 279 117 <--disconnect before connecting to another address
  26. ;
  27. #X text 439 147 send to a multicast address;
  28. #X text 411 172 specify an interface to use with multicast;
  29. #X msg 253 173 multicast_interface 1;
  30. #X text 461 195 by index \, name or address;
  31. #X floatatom 393 246 5 0 256 0 - - -;
  32. #X obj 375 269 f 1;
  33. #X obj 375 249 bng 15 250 50 0 empty empty empty 17 7 0 10 -4034 -1
  34. -1;
  35. #X text 240 270 set multicast ttl:;
  36. #X msg 375 295 multicast_ttl \$1;
  37. #X text 645 408 Martin Peach 2010/08/02;
  38. #X msg 425 345 multicast_loopback \$1;
  39. #X obj 425 323 tgl 15 0 empty empty empty 20 7 0 8 -24198 -241291 -1
  40. 0 1;
  41. #X text 236 321 enable multicast loopback:;
  42. #N canvas 529 111 494 344 META 0;
  43. #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  44. Wilkes for Pd version 0.42.;
  45. #X text 12 25 LICENSE GPL v2 or later;
  46. #X text 12 135 AUTHOR Martin Peach;
  47. #X text 12 5 KEYWORDS control network;
  48. #X text 12 115 OUTLET_0 float;
  49. #X text 12 45 DESCRIPTION used in conjunction with packOSC - will send
  50. OSC over udp;
  51. #X text 12 75 INLET_0 connect send list disconnect multicast_interface
  52. multicast_ttl multicast_loopback;
  53. #X restore 798 452 pd META;
  54. #X connect 0 0 6 0;
  55. #X connect 1 0 6 0;
  56. #X connect 3 0 6 0;
  57. #X connect 6 0 2 0;
  58. #X connect 7 0 6 0;
  59. #X connect 8 0 9 0;
  60. #X connect 9 0 6 0;
  61. #X connect 10 0 8 0;
  62. #X connect 14 0 6 0;
  63. #X connect 16 0 6 0;
  64. #X connect 17 0 6 0;
  65. #X connect 18 0 6 0;
  66. #X connect 23 0 6 0;
  67. #X connect 25 0 26 1;
  68. #X connect 26 0 29 0;
  69. #X connect 27 0 26 0;
  70. #X connect 29 0 6 0;
  71. #X connect 31 0 6 0;
  72. #X connect 32 0 31 0;