On 02/28/2013 17:33, Matthias Blau wrote:
checkout iemnet's [udpclient].
already have tried that - without success. I only get "udpclient:status: sent 4", nothing else.
If I understand it correctly, udpclient listens on the specified port as well, so if the remote udp server gets the request, say on port 6667 and answers on another port (e.g., 60303), how can udpclient receive this answer?
because you are misunderstanding how udpclient works. each network connection (UDP or TCP/IP) consists of two ports, a sending port and a receiving port. the receiving port (on the server side) is usually fixed, it's the port you connect to. but on the sending side (the client) you also open a port, which is normally chosen randomly from all the currently available ports on the system. this port can be used to get data back from server to client.
[udpsend] will silently discard all data on the sender port, but [udpclient] will not.
Just to make sure we are talking about the same version: I am on pd-extended 0.43.1 (20120430) under Ubuntu 12.04 64bit.
dunno, i have neither. but you can test whether [udpclient] works as expected by doing the following:
netcat to Listen on Udp Port 7777) $ nc -u -l -p 7777
[connect localhost 7777( | [udpclient] | [print foo]
then send something (e.g. "64 64 10") via [udpclient]. you should see whatever you sent appear on the console running netcat, e.g.: @@
now, in the very console running netcat type something "e.g. "foo") and hit return. Pd should print something like "102 111 111 10".
if the iemnet bundled with PdX is broken, you can install the debian packages, by simply running $ sudo aptitude install pd-iemnet
(you might have to go through some hoops to load and use the correct iemnet in PdX, but this is mere speculation on my side)
gasdmr IOhannes