UDP Broadcast Problem

MisterX b.xavier at internet.lu
Thu Feb 16 15:15:52 EST 2006


note also that limited broadcast IP addresses (like 255.255.255.255) are not
always passed across routers... In case you have one somewhere in the
middle...

cheers
Xavier

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Alex Tweedly
> Sent: Thursday, 16 February, 2006 20:51
> To: How to use Revolution
> Subject: Re: UDP Broadcast Problem
> 
> Goldman David wrote:
> 
> > I am attempting to send out a UDP Broadcast with the 
> following script:
> >
> > on mouseUp
> >   put "255.255.255.255:5000" into theIP
> >   open datagram socket to theIP
> >   write "xx" to socket theIP
> >   put the result
> >   close socket theIP
> > end mouseUp
> >
> > However what I get is: "error sending datagram", Further the 
> > openSockets shows that 255.255.255.255:5000 is open.
> >
> Your script (copy/pasted) works OK for me, on WinXP, 2.6.1  
> (and the packets are received OK both on the same machine and 
> another on the network). Unfortunately, I have no Mac here, 
> so can't try that.
> 
> > My packet sniffer (MacSniffer) shows no activity - i.e. it really 
> > doesn't seem to be sending anything.
> >
> > If I change the address to anything other than 255.255.255.255 - say
> > 0.255.255.255 - something happens.
> >
> > Any idea why I can't send out the broadcast?
> >
> Firewall ?
> Unprivileged account ?
> 
> I'm not much of a Mac user, so don't know what else to suggest ...
> 
> -- 
> Alex Tweedly       http://www.tweedly.net
> 
> 
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.15.9/261 - Release 
> Date: 15/02/2006
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list