Re: [PD] udpsend broadcast was Re: 0.43 should still be a test version

2011-05-17 Thread Matteo Sisti Sette



255.255.255.255 seems to work with [udpsend] on linux,


:O WHOOOPS you're right. I don't know what I was doing wrong.

Sorry for the noise
m.


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] udpsend broadcast was Re: 0.43 should still be a test version

2011-05-17 Thread Martin Peach

On 2011-05-16 17:36, Matteo Sisti Sette wrote:

On 05/16/2011 11:21 PM, Martin wrote:

255.255.255.255.

Where is it supposed to send that to? I doubt if any router would
forward it to every machine on the internet.


No, it is supposed to broadcast to the local network, exactly like
x.x.x.255, with the difference that you don't have to know x.x.x so it
is more portable. It is standardised and many programs recognize it,
though [udpsend] is not the only one that doesn't (TouchOSC for example
doesn't either).

It works with [netsend 1] on Windows, by the way.



255.255.255.255 seems to work with [udpsend] on linux, at least the 
local machine receives packets sent to that address.


[udpsend] can also do multicasting, which isn't so wasteful of 
bandwidth, and can cross onto other networks if you set the hop count 
appropriately.


Martin

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] udpsend broadcast was Re: 0.43 should still be a test version

2011-05-16 Thread Matteo Sisti Sette

On 05/16/2011 11:21 PM, Martin wrote:

255.255.255.255.

Where is it supposed to send that to? I doubt if any router would
forward it to every machine on the internet.


No, it is supposed to broadcast to the local network, exactly like 
x.x.x.255, with the difference that you don't have to know x.x.x so it 
is more portable. It is standardised and many programs recognize it, 
though [udpsend] is not the only one that doesn't (TouchOSC for example 
doesn't either).


It works with [netsend 1] on Windows, by the way.


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] udpsend broadcast was Re: 0.43 should still be a test version

2011-05-16 Thread Martin

On 16/05/11 04:58 PM, matteo sisti sette wrote:

By the way,

Though broadcasting does work with [udpsend], it only works with
x.x.x.255 (where x.x.x is the address of the local network), but it
does not work with 255.255.255.255.



Where is it supposed to send that to? I doubt if any router would 
forward it to every machine on the internet.


Martin


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] udpsend broadcast was Re: 0.43 should still be a test version

2011-05-16 Thread matteo sisti sette
By the way,

Though broadcasting does work with [udpsend], it only works with
x.x.x.255 (where x.x.x is the address of the local network), but it
does not work with 255.255.255.255.

2011/5/10 Martin :

>> I don't have any trouble with [udpsend] either. It's [netsend 1] that
>> can't broadcast
>
> OK I see now. [udpsend] has this in it right after the socket is created:
>
>
> /* Based on zmoelnig's patch 2221504:
> Enable sending of broadcast messages (if hostname is a broadcast address)*/
> ...

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list