This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Accessing the Subnet Mask Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Accessing the Subnet Mask" Watch "Accessing the Subnet Mask" New topic
Author

Accessing the Subnet Mask

akhilesh maheshwari
Greenhorn

Joined: Jul 20, 2001
Posts: 6
Hi! All,
Is there a way to access the Subnet Mask of a computer directly from the Java code using System properties or something like that.
Thanks and appretiate any help..
surya kumar mp
Greenhorn

Joined: Sep 30, 2001
Posts: 13
HI
As i know ,Java currently has no facility for accessing or determining a subnet mask. A subnet mask is used to denote which bits in an IP address are the "network" part and which bits are the "machine" part.
I think you need to broad cast the message accorss defferent networks(or one Network). Possible solution might be get the All IP's in that network(s) and brodcast the message to all(Might be the soluation).
Surya.MP
Originally posted by akhilesh maheshwari:
Hi! All,
Is there a way to access the Subnet Mask of a computer directly from the Java code using System properties or something like that.
Thanks and appretiate any help..

 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Accessing the Subnet Mask
 
It's not a secret anymore!