[PD] netsend (UDP): cannot connect to 255.255.255.255

Matteo Sisti Sette matteosistisette at gmail.com
Sun Sep 12 15:09:20 CEST 2010


Hi,

In Windows, I've always used "connect 255.255.255.255 (someport)" with a 
[netsend 1] to broadcast packets to the whole local network to a given port.

Any [netreceive (someport) 1] on the same network and/or the same 
machine could receive all packets sent with the netsend above.

However, I am trying this in Linux (ubuntu) now and it doesn't work.

The [netsend 1] object won't even connect (the outlet doesn't output a 
1) but it won't complain either: it says "connecting to port 5555" but 
doesn't print any error message when failing to connect.
It does print error messages ("netsend: not connected") when trying to 
send messages.

I know I can use the specific address of the network, e.g. 
192.168.1.255, but this won't work if I use the patch on a network with 
a different address other than 192.168.1.XXX

Why doesn't 255.255.255.255 work and is there a workaround?

thanks
m.



More information about the Pd-list mailing list