Broadcasting,Need Help.....!

B

BigZero

Hello,

can some one help me.....!
i want to broadcast msg in LAN that send msg to all host
connected to Network so plz some one tell how to do that in java
programming,later i need to store back the ip address of the client
machines.....











Thanks

Vijay
 
S

Sabine Dinis Blochberger

BigZero said:
Hello,

can some one help me.....!
i want to broadcast msg in LAN that send msg to all host
connected to Network so plz some one tell how to do that in java
programming,later i need to store back the ip address of the client
machines.....

Thanks

Vijay

Send an UDP packet to the broadcast address of your network (all
significant parts set to 255). If this makes no sense to you, you need
to learn about how computer networks work first.

Links found with searching "java network":

<http://www.davidreilly.com/java/java_network_programming/>
<http://java.sun.com/docs/books/tutorial/networking/index.html>

Searching "java network broadcast":

<http://www.developer.com/java/other/article.php/3315501>
<http://java.sun.com/docs/books/tutorial/networking/datagrams/broadcasting.html>
<http://www.java-tips.org/java-se-tips/java.net/how-can-i-send-broadcast-packets-in-java.html>

and many more.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top