[PD] tcpserver for sending files?

Martin martin.peach at sympatico.ca
Mon May 9 20:29:44 CEST 2011


On 09/05/11 01:31 PM, Mathieu Bouchard wrote:
> On Mon, 9 May 2011, Martin wrote:
>
>> If the data you're sending is a symbol instead of numbers, the symbol 
>> will be interpreted as a file name, so [client 1 hello.jpg( will send 
>> hello.jpg as raw bytes.
>
> Is that name relative to the "current folder", or the patch's folder, 
> or the folders in the Path dialogue, or all, or whatever else ?

It opens the file relative to the folder containing [tcpserver] (it 
calls fopen with whatever path you give it). You can also give it an 
absolute path.

Martin




More information about the Pd-list mailing list