Click here to Skip to main content
15,904,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,
I am developing a java application to use in LAN. In my app, one system will broadcast with one keyword, all other system will do something with that keyword and respond to the sender with the result
sender: Broadcast(keyword)
receiver systems: result=DoSomething(keyword), RespondToSender(result)

Here, sender is not a server.
Receiver may or may not be a server- broadcasting means message from sender will go to all systems in LAN( including server, other peer systems etc..)

And this application is meant for windows (currently in windows 7) system

How to do this broadcasting part,

Many thanks in advance...
Posted
Updated 28-May-14 19:14pm
v3

1 solution

You probably need to use the networking features of Java; see http://docs.oracle.com/javase/tutorial/networking/[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900