aspose file tools*
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing the Subnet Mask