[PD-dev] [ pure-data-Patches-1739655 ] automatically "send" lists with [udpsend]

SourceForge.net noreply at sourceforge.net
Thu Jun 21 09:37:50 CEST 2007


Patches item #1739655, was opened at 2007-06-19 13:09
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1739655&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: feature
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Martin Peach (mrpeach)
Summary: automatically "send" lists with [udpsend]

Initial Comment:
with this patch one can use [udpsend] to send data without having to prepend the "send" selector to each message.
everything that is a "list" will automatically be "send".

e.g.
"1 2 3 59" is the same as "send 1 2 3 59" 
"list /tmp/test.txt" is the same as "send /tmp/test.txt"

reasoning:
 - when dealing with a lot of messages to be sent, it quickly becomes tiresome and cpu-consuming to have to prepend "send" to every message.
 - lists are the native type of "data" in pd (as opposed to "commands"); [udpsend]s native way to deal with "data" is to send it (special behaviour like (dis)connecting is done via special messages)


might be that my reasoning is not completely in-line with pd-vanilla (compare the "send" message to [netsend])

if this gets accepted, [tcpsend] should also be modified accordingly 

----------------------------------------------------------------------

>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-06-21 09:37

Message:
Logged In: YES 
user_id=564396
Originator: YES

thanks (closing)

----------------------------------------------------------------------

Comment By: Martin Peach (mrpeach)
Date: 2007-06-20 22:38

Message:
Logged In: YES 
user_id=919007
Originator: NO

OK,good idea. I changed udpsend, also made the same change to tcpsend,
tcpclient and tcpserver.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1739655&group_id=55736




More information about the Pd-dev mailing list