With the Pd net object overhaul, pd is using sendto with UDP as suggested by Christof as well, I believe.
I agree that it would be nice to change the "connect" metaphor with UDP and [netsend -u]. Maybe one approach is to add another message such as your "to" which only works for UDP while retaining current "connect" functionality to not break patches.
On Jun 7, 2021, at 11:00 PM, pd-list-request@lists.iem.at wrote:
Message: 4 Date: Mon, 7 Jun 2021 23:00:21 +0200 From: Christof Ressi <info@christofressi.com mailto:info@christofressi.com> To: Martin Peach <chakekatzil@gmail.com mailto:chakekatzil@gmail.com>, Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: Re: [PD] UDP server with Pd Message-ID: <df5de976-556c-2a67-01f5-0c95d3adc92f@christofressi.com mailto:df5de976-556c-2a67-01f5-0c95d3adc92f@christofressi.com> Content-Type: text/plain; charset=utf-8; format=flowed
Great to hear!
On 07.06.2021 22:57, Martin Peach wrote:
So I changed it to use sendto and it works a lot better. It receives from multiple clients while sending to any one. I added a [to ( message to set the destination, and removed the [connect( and [disconnect{ methods. Thanks Christof for the critique!.
Martin
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/