File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing the Subnet Mask

 
akhilesh maheshwari
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic