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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution