[PD] any mac OS terminal experts?

Mathieu Bouchard matju at artengine.ca
Fri Mar 26 03:34:26 CET 2010


   require "socket"
   f = TCPSocket.new "localhost",4242
   f.puts "hello world;"

you don't need pdsend and pdreceive. if you have Floats and Symbols in an 
Array you can simply do :

   f.puts myArray.join(" ") + ";"

and similarly Integers and Strings can be passed off in the same way, and 
you'll get the same bugs that [netsend] and pdsend have when symbols have 
spaces or symbols look like floats or symbols contain commas, semicolons, 
etc.

but the good news is that you don't need any external programmes and it's 
fully crossplatform without having to worry about paths at all.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


More information about the Pd-list mailing list