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.
Message: 4Date: Mon, 7 Jun 2021 23:00:21 +0200From: Christof Ressi <info@christofressi.com>To: Martin Peach <chakekatzil@gmail.com>, Pd-List <pd-list@lists.iem.at>Subject: Re: [PD] UDP server with PdMessage-ID: <df5de976-556c-2a67-01f5-0c95d3adc92f@christofressi.com>Content-Type: text/plain; charset=utf-8; format=flowedGreat 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