| sentinel 2005-03-07, 4:09 pm |
| here is the problem
I want to broadcast messages over the UDP and can't find ANY help...
so please give me some help since I will go mad if i don't figure this
out...
I want to have one application (no client server)
it will on a press of a button send a broadcast message ("Hello! I'am
here.") and then it must recive the same message is sent...
now...
if the app is started on multiple computers in the same subnet and
anyone of those computers press the button - ll of them must recive
"Hello! I'm Here."
it is for some sort of a chat program - not for users but for computers:
i have a large network of computers wich i administer
i want to avoid sitting down on each one and entering some commands so
i wrote a program that runs a certian script when the computer is
restarted
but I have to tell everyone to restart the computer... that is a lot of
phonecalls
now i want to leave the program in systemtray to wait for broadcasts
(it will identify messages ment for it not only by port but by first
byte of message) and when the message arrives it must do what the app
was doing on restart - run the script that is allways on the same place
and is allways called the same...
so i am asking the code for sending broadcast messages over udp and the
code for reciveing broadcast messages over udp
thanks
|