File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes networking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "networking" Watch "networking" New topic


nick kaushik
Ranch Hand

Joined: Sep 25, 2009
Posts: 48

Here goes : i was given a prgm to implement i hav an idea if its design,but the question is how do i take IP of all clients thr any way by which i can broadcast something without feeding all the IPs manually. the IPs start from 10.0.7.x---10.0.7.y . i was told that if i use IP my masg will reach all the machines connected to this it so?
if not, please tell me a way so that i could send the msg to this range of IPs without manually hardcoding them in my progm?
(waiting.... :rolleyes

"ye shall know the truth & the truth shall set you free..."
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Please UseRealWords. These abbreviations only make it a lot harder to read. You can edit your post with the button.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 43350
Too difficult a question for "beginning". Moving thread.
subject: networking
It's not a secret anymore!