[REBOL] UDP broadcast
From: rebol-list2::seznam::cz at: 18-Jun-2003 16:54
Hello rebol-list,
I've found this UDP broadcast example (by Norman Deppenbroek):
data: "1101001011110000" ; port 54000 binary notation as text to bc
forever [
connection: open udp://255.255.255.255:54000
set-modes connection [ broadcast: true ]
insert connection data
print [ now/date "*" now/time ]
close connection
wait 0:15:0 ; wait 15 minutes for next broadcast
]
but when I listen on udp://:54000 I'm not receiving any messages. Does
anybody know how to set-up the UDP broadcast listener?
Thanks,
Oldes