The Artima Developer Community
Sponsored Link

Java Answers Forum
Broadcast and netmask using java

2 replies on 1 page. Most recent reply: Dec 6, 2002 4:33 AM by Bauer Wolfgang

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Bauer Wolfgang

Posts: 2
Nickname: dimitri
Registered: Dec, 2002

Broadcast and netmask using java Posted: Dec 6, 2002 12:40 AM
Reply to this message Reply
Advertisement
Hi,
how can I find out the netmask of a computer using java (without any JNI)
Background: I want to send a broadcast message to a network.

Thanks in advance
Dim


Venugopal Bandari

Posts: 5
Nickname: bandari
Registered: Dec, 2002

Re: Broadcast and netmask using java Posted: Dec 6, 2002 1:56 AM
Reply to this message Reply
hai,

first u learn about TCP/IP and configuring Ip's. then u can make it.

Bauer Wolfgang

Posts: 2
Nickname: dimitri
Registered: Dec, 2002

Re: Broadcast and netmask using java Posted: Dec 6, 2002 4:33 AM
Reply to this message Reply
Hi,
well I think I know enough about TCP/IP. I just have to know the subnetmask then you can invert the bits and voila: The broadcast adress.

Dim

Flat View: This topic has 2 replies on 1 page
Topic: Help with java project Previous Topic   Next Topic Topic: Stack Overflow/Posting to URL

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use