packOSCstream-help.pd 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #N canvas 1 53 609 569 10;
  2. #X obj 69 119 packOSCstream;
  3. #X obj 69 451 tcpsend;
  4. #X text -24 496 check also:;
  5. #X obj -22 513 unpackOSCstream;
  6. #X obj 93 513 packOSC;
  7. #X msg 38 403 connect localhost 9995;
  8. #X obj 208 513 tcpreceive;
  9. #X obj 151 513 tcpsend;
  10. #X obj 286 513 tcpserver;
  11. #X obj 357 513 tcpclient;
  12. #X msg 58 423 disconnect;
  13. #X obj 69 473 tgl 15 0 empty empty empty 17 7 0 10 -4034 -257985 -1
  14. 0 1;
  15. #X obj 181 403 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577
  16. 0;
  17. #X text 196 408 <- First open unpackOSCstream-help \, then connect
  18. ;
  19. #X text 440 501 Author: Roman Haefeli;
  20. #X text 440 517 Version: 2008-09-09;
  21. #X text 74 254 [packOSCstream] uses the same methods as [packOSC].
  22. Please consult packOSC-help.pd for the complete documentation.;
  23. #X text 75 189 [packOSstream] puts a frame length header (int32) in
  24. front of every OSC packet or bundle \, so that the receiving side knows
  25. \, how to split the incoming stream into OSC packets again.;
  26. #X msg -24 9 /first/message 1 \, /second/message 2;
  27. #X text 79 330 reference:;
  28. #X text 80 347 http://archive.cnmat.berkeley.edu/OpenSoundControl/OSC-spec.html
  29. : Section "OSC Packets";
  30. #X msg -4 29 send /test/one/two/three zz 88 T;
  31. #X msg 16 49 sendtyped /test/one/two/three sis zz 88 T;
  32. #X msg 36 69 prefix /test;
  33. #X msg 56 89 [ \, /previous/page 666 \, /next/page 999 \, ];
  34. #X text 72 142 [packOSCstream] is meant to be a replacement for [packOSC]
  35. \, when sending over a stream based protocol \, such as TCP.;
  36. #N canvas 499 120 494 344 META 0;
  37. #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  38. Wilkes for Pd version 0.42.;
  39. #X text 12 25 LICENSE GPL v2 or later;
  40. #X text 12 115 AUTHOR Roman Haefeli;
  41. #X text 12 75 INLET_0 anything send sendtyped prefix connect disconnect
  42. ;
  43. #X text 12 45 DESCRIPTION meant to be a replacement for [packOSC] \,
  44. when sending over a stream based protocol \, such as TCP;
  45. #X text 12 95 OUTLET_0 float;
  46. #X text 12 5 KEYWORDS control network abstraction;
  47. #X restore 532 544 pd META;
  48. #X connect 0 0 1 0;
  49. #X connect 1 0 11 0;
  50. #X connect 5 0 1 0;
  51. #X connect 10 0 1 0;
  52. #X connect 18 0 0 0;
  53. #X connect 21 0 0 0;
  54. #X connect 22 0 0 0;
  55. #X connect 23 0 0 0;
  56. #X connect 24 0 0 0;