UDP Broadcast Problem
Alex Tweedly
alex at tweedly.net
Thu Feb 16 14:51:03 EST 2006
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
More information about the use-livecode
mailing list