<p dir="ltr">You can also try disis_netsend/receive which is nearly identical to Pd&#39;s netsend/receive, except that it provides additional features including UDP broadcast, msg queueing etc., including a different way for dispatching received messages that has (at least on pd-l2ork) solved freezing gui issues.</p>

<div class="gmail_quote">On Mar 1, 2013 7:16 AM, &quot;Roman Haefeli&quot; &lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fre, 2013-03-01 at 08:53 +0100, IOhannes m zmölnig wrote:<br>
&gt; On 02/28/2013 17:33, Matthias Blau wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; checkout iemnet&#39;s [udpclient].<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; already have tried that - without success. I only get<br>
&gt; &gt; &quot;udpclient:status: sent 4&quot;, nothing else.<br>
&gt; &gt;<br>
&gt; &gt; If I understand it correctly, udpclient listens on the specified port as<br>
&gt; &gt; well, so if the remote udp server gets the request, say on port 6667 and<br>
&gt; &gt; answers on another port (e.g., 60303), how can udpclient receive this<br>
&gt; &gt; answer?<br>
&gt;<br>
&gt; because you are misunderstanding how udpclient works.<br>
&gt; each network connection (UDP or TCP/IP) consists of two ports, a sending<br>
&gt; port and a receiving port. the receiving port (on the server side) is<br>
&gt; usually fixed, it&#39;s the port you connect to.<br>
&gt; but on the sending side (the client) you also open a port, which is<br>
&gt; normally chosen randomly from all the currently available ports on the<br>
&gt; system.<br>
&gt; this port can be used to get data back from server to client.<br>
&gt;<br>
&gt; [udpsend] will silently discard all data on the sender port, but<br>
&gt; [udpclient] will not.<br>
&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Just to make sure we are talking about the same version: I am on<br>
&gt; &gt; pd-extended 0.43.1 (20120430) under Ubuntu 12.04 64bit.<br>
&gt; &gt;<br>
&gt;<br>
&gt; dunno, i have neither.<br>
&gt; but you can test whether [udpclient] works as expected by doing the<br>
&gt; following:<br>
&gt; - run a simple udp-server from the commandline (the following uses<br>
&gt; netcat to Listen on Udp Port 7777)<br>
&gt; $ nc -u -l -p 7777<br>
&gt; - start Pd (in another terminal), load iemnet, and do<br>
&gt; [connect localhost 7777(<br>
&gt; |<br>
&gt; [udpclient]<br>
&gt; |<br>
&gt; [print foo]<br>
&gt;<br>
&gt; then send something (e.g. &quot;64 64 10&quot;) via [udpclient].<br>
&gt; you should see whatever you sent appear on the console running netcat, e.g.:<br>
&gt; @@<br>
&gt;<br>
&gt; now, in the very console running netcat type something &quot;e.g. &quot;foo&quot;) and<br>
&gt; hit return. Pd should print something like &quot;102 111 111 10&quot;.<br>
&gt;<br>
&gt;<br>
&gt; if the iemnet bundled with PdX is broken, you can install the debian<br>
&gt; packages, by simply running<br>
&gt; $ sudo aptitude install pd-iemnet<br>
<br>
Why are you assuming it is broken in Pd-extended?<br>
<br>
Actually, it seems to have glitches. With above setup, right after<br>
connecting [udpclient] to the netcat server, you cannot send anything<br>
from netcat to the client. Only after sending at least one packet from<br>
[udpclient], it flushes all messages it has received from the server<br>
since the connection. From this point in time, the communication works<br>
instantly both ways.<br>
<br>
This is on Linux (Ubuntu 12.04) with most recent iemnet and Pd compiled<br>
from source, but also with Pd-0.43.3-extended.<br>
<br>
When using netcat as UDP client, I can start sending packets from the<br>
server immediately.<br>
<br>
Roman<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>