How can i  get to know whether a ip Address is reachable?

i am sorry for my poor english...now i meet a session:
if i have very many ipaddresses,in system,we use ping to know
whether the single ip is reachable,but in java application,how can
i do it rapidly?
thank u...

There is a method named isReachable
try to see its syntex and usage in java.net documentation
bye

Similar Messages

  • How can I get to know if a method is threads-safe?

    Hi, there.
    How can I get to know if a method is threads-safe?
    For example, in two different threads, is System.out.print() method safe or not?And where can I find the information with regard to this?
    thanks very much.

    System.out is a PrintStream object. None of the methods there use the synchronized modifier, but if you look in the source code, you will find out it is thread-safe, because it will use synchronized blocks whenever it writes some text.
    The source code is in the src.jar file which you can extract.
    I didn't find any comments about that PrintStream is thread-safe in the API.

  • How can I get to know what's my iCloud account and password, I forgot them

    How can I get to know what's my iCloud account and password, I forgot them

    Welcome to the Apple community.
    If you can't remember the password, reset it at...
    iForgot.com

  • How can i get to know the widget type from the sample.

    If am trying to copy a widget sample from a reference site, how can I get to know if its a standard out of box or some custom widget.
    For example what type of widget could be the given, it seems its a google map for any location.

    Hello,
    Open the site for edit, in the side panel open the 'Content Catalog' and filter by 'Delivered with product' to see the list of the out of the box widgets.
    The Google maps widget is not an out of the box widget.
    Regards,
    Eliel.
    Cloud Portal Dev.

  • I have a new iPad. I am using Comcast as my email provider but when I send a message, it pulls up the facebook email addresses for my  contacts  instead of the addresses stored in my comcast account.  How can I get rid of the Facebook email addresses? The

    I have a new iPad. I am using Comcast as my email provider but when I send a message, it pulls up the facebook email addresses for my  contacts  instead of the addresses stored in my comcast account.  How can I get rid of the Facebook email addresses? The comcast addresses are stored in the comcast (xfinity) app.  I do not use the "mail" or "contacts" apps ....I go straight to comcast (xfinity).  I wish I could start over!!!  thanks.
    iPad

    I could be wrong, but it sounds like Facebook imported to your contacts.  I have the Xfinity app on my new ipad, too, but none of my stored contacts from the online version are showing, only what I manually entered into the iPads contacts are there.  When I did add the FB app, I did not grant it permission to push and pull from my ipad (not a fan of FB knowing every detail about me), so that may be where our difference lies.  You could try to open the app and change your privacy settings, or delete it and then reinstall without granting permissions to integrate.
    I'm sure someone here with a lot more knowledge then me can probably diagnose your issue better, though.  Good luck!

  • Before, when I typed an http address in my hotmail account, it would be highlighted; since I got firefox, it is NOT highlighted. How can I get firefox to highlight an http address when I type it?

    The above say it all:
    Before, when I typed an http address in my hotmail account, it would be highlighted; since I got firefox, it is NOT highlighted. How can I get firefox to highlight an http address when I type it?

    Do you mean to create a clickable hyperlink while composing a new mail?
    Just above the textarea that you use to enter the message text there is usually a button bar with buttons to add text formatting like Bold and Italic.<br />
    That toolbar may also have a button to turn a text link into a clickable hyperlink (look for a chain like button).<br />
    You can select the text and click that button to turn the link into a clickable hyperlink.<br />
    If you can't find the button then hover them all to check the tooltip of each.
    * Make Link - https://addons.mozilla.org/firefox/addon/make-link/

  • How can we get the prompt to enter IP Address, Subnet Mask , gateway and DNS Server during Task Sequence?

    How can we get the prompt to enter IP Address, Subnet Mask , gateway and DNS Server during Task Sequence?

    This is for 2007 but may still be relevant for 2012
    http://hexdump.net/?p=391
    Cheers
    Paul | sccmentor.wordpress.com

  • How can i get to know what is the reason for implausible meater reading?

    Hi All,
    I am new to this SAP -ISU.
    can any body tell me how can i get the reason for implausible meater reading.
    my requirement is to get the unbilled meters becasuse of unrealibility of meter reader.
    here what i understood is if meater reading is not in a position to bill so it means meater reading may be in implausible state. so i want to know the reason for implausible meater reading so that i get the meters which are not billed because of unreliasility of meter reader.
    in which table these reasons get store.
    if any body knows about these please reply me ASAP.
    Thanks in Advance.

    At the very least, you will receive EXACTLY the same product you sent in.  You may get a newer product.  It's Apple's choice.

  • I found an old Apple id on a computer I use infreqently with an old Ipod.  I have the the Applie ID, but I do not have the password.  In addition,my email account has changed since I created this Applie ID. How can I get reset info to new email address?

    I found an old Applie ID on a computer I use infreqently with an old IPod.  I do not have the password for this AppleID.  When I use the procedure to reset the password, I cannot receive the email as my email address has changed from the original used with the Apple ID.  How can I get the reset information sent to my current email addres so I can establish a new passwod for this Applie ID? 

    FR Tecmobility is wrong, sure he means well but what he suggests will not work - signing out of iTunes Store and back in will have no effect on iCloud. Try the steps at iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    You may need to contact apple tech support if none of the password change methods work for you. Ask for Account Security. They will need to verify identity, to ensure you are who you claim to be. If that goes well, they can send a password rest e-mail to any e-mail you desigate, so make sure it is one you can access.  Then reset the password. Then you can delete the iCloud account (needs the password to turn off find My Phone/Activation lock)
    keep data on phone, then sign in with your desired apple ID. Good luck. hope you get this sorted out.

  • How can I get Mail to 'forget' old email addresses?

    Several work contacts have recently changed their email addresses, but when I type their names in the To: box in Mail, it brings up both the new and old addresses.
    None of these email addresses are in my Address Book, Mail is obviously just picking them up from previous emails I have sent and received  to/from these people.
    How can I get Mail to 'forget' these old email addresses and just bring up the current ones?
    (I have already accidentally sent emails to the old addresses because they are coming up in the drop-down menu. I would much prefer it to be idiot-proof and not bring the out of date addresses up at all)

  • How can I get the host name from Email address?

    hi
    When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanks

    Stripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
    http://www.stopspam.org/email/headers/headers.html
    Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
    Sean

  • HT201342 How can I get my own iCloud e-mail address?

    We own several Apple computers, two iPhones, two iPads and a few iPods. But so far everything is under my husband's Apple ID. He has an iCloud e-mail but I don't. I use gmail. I know how to get an Apple ID using my gmail address. But I do not know how to get my own iCloud e-mail address.Will someone please give me step by step guidance? Thanks.

    When you have the Apple ID, click here and follow the instructions.
    (120140)

  • How can I get a list of locations with address and contact info?

    In Adobe Story Plus, I've gone through the effort of entering address and contact info for all locations. I would like to now use this information.
    When I choose Sets and Locations, I get the set names only, separated by Studio and Location. No locations, no addresses.
    When I choose to export the Set List as XML, I get an XML file that seem to contain the address information. However, it does not appear to be a valid XML file, readable neither in Excel nor Google Docs.
    Are there reports that I can create that include this information? Is there a useful way to export XML and open in Excel/Number/Google Docs/Word, etc?
    I'm about to embark on a search to how the XML can be formatted properly but this isn't really where I wanted to be spending my time on this project.
    Thanks.

    Yes. I tried it on Windows version.
    Would you mind doing the following steps to view that XML file as a table in Safari? Then from safari, you can copy paste it Excel.
    1. Export the Set List XML from Story.
    2. Extract the 'transformSetListIntoTable.xsl' file from the attached zip file and place it in the same directory in which Set List XML is present.
    3. Open the Set List xml file in a text editor and paste the following text at its very beginning.
    <?xml-stylesheet type="text/xsl" href="transformSetListIntoTable.xsl"?>
    4. Save the changes.
    5. Open the Set List xml file in Safari
    6. In Safari, Select All and paste it inside Excel.

  • How can I get the user's PC IP address

    Hi:
    Does anybody have an example of how to get the IP address with the client PC machine from an Oracle Forms 10g based application. I have seen threads referring to usage of webutil and others but I have not seen an actual complete examle. Is there such a thing. Is there a document somewhere I can access. Thanks a lot in advance for any help,
    Thomas

    He's leaving next week. In all fairness he has helped us a lot in our conversion form 3.0 to 10g project.
    On another note, I tried to apply webutil_db package to an 8i database and found that it will not compile because as the documentation clearly states the ideal database for webutil usage is 9.0.1 or higher.
    Specifically the compilation fails because it requires package UTL_ENCODE. We are currently upgrading to 10g and will not be fully converted until approximately 6 months from now.
    Then, my questions are:
    Is it possible to create this package (UTL_ENCODE) in 8i?
    Do I create a dummy package in our 8i databases and hope no one notices.
    Do I go with a one off on webutil where I extract only the functionality for today - Getting IP address?
    Any thoughts,
    Thanks guys for all your comments above, it's good to see that there are a lot of Oracle developers that care, I should start helping others more in here. I will...
    Thanks,
    Thomas

  • How can I get Thunderbird to propose an email address when I start to type that person's name?

    Hi! Please help me. I need to know what to do.
    This just happened today. Before, everything was fine.
    Starting today, when I type someone's name in the To box of my email, no email address comes up. I have to go to my address book to find out what it is and then type it in manually.
    I want the old system back where I typed in the first few letters and it offered me email addresses from my address book.
    What do I need to do to get it back?
    Thank you.

    Check to see if the feature is turned on.
    From the Menu Bar select '''Tools-Options-Composition-Addressing
    No menu bar? Press the alt key.
    Forget about going back to the address book from the write window. Turn on the Contact Sidebar.
    Open a Write window and press F9 to turn it on. Find the contact that you want and double click on it to add to an address box or select multiple contacts and use one of the Add To buttons at the bottom.

Maybe you are looking for