<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>If you want the server to reply only to the current client,
      [iemnet/udpserver] actually works fine (despite the error message
      in the console): the list method will send the packet to the
      source address of the most recently received packet.<br>
    </p>
    <p>However, if you need to send packets to several/all registered
      clients, e.g. like a game server, this doesn't work (yet).</p>
    <p>Christof<br>
    </p>
    <div class="moz-cite-prefix">On 02.06.2021 08:54, Roman Haefeli
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:282715949ba0101095ce53df91ce57b56417bcc3.camel@gmail.com">
      <pre class="moz-quote-pre" wrap="">On Tue, 2021-06-01 at 15:27 -0700, Miller Puckette via Pd-list wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">One solution (which the conniption server/client and quacktrip both
use in somewhat different ways) is for a "netreceive" object to wait
for an incoming connection and then, once one arrives, immediately to
close
its own listening port and for a "nestsend" in the same patch to open
a connection to the IP and port that the "netreceive" reported (via
its
second outlet).  It's a bit complicated but gets the job done.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
That absolutely works. And since that can be done in zero logical time,
[netsend]  doesn't claim any packets coming in on the port "shared"
with [netreceive]. Cheers to Pd's determinism!

That opens up an a lot of new things to explore for me. Thanks!

Roman
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
  </body>
</html>