How to detect ipaddress client when client computer is turn on

I have problem :
** how to detect ipaddress from client when the computer client is turn on???
i have assumption : server ipaddress 192.168.2.21
client_1 ipaddress 192.168.2.26
client_2 ipaddress 192.168.2.27
anyone want to help me,please give me the sample program.
thanks before.

cross post
http://forum.java.sun.com/thread.jspa?threadID=786950&messageID=4471598#4471598

Similar Messages

  • How to detect ipaddress client when computer client is turn on

    I have problem :
    ** how to detect ipaddress from client when the computer client is turn on???
    i have assumption : server ipaddress 192.168.2.21
    client_1 ipaddress 192.168.2.26
    client_2 ipaddress 192.168.2.27
    anyone want to help me,please give me the sample program.
    thanks before.

    your client will have to
    1) start up when the machine does
    2) make a TCP/IP connection to the server as it starts up
    when the server gets a connection from the client, you can query the relevant Socket object for the source IP address
    a simple 'google' for java socket tutorials, or a search of the Sun site will show you more quickly and definitively than anyone on a forum

  • How to speed up loading when the computer is turned on?

    The iMac I have is a Mac osx tiger. It used to be very fast on loading up all the applications. But now it take ages to load up when I turn it on, and it also takes a long time to open an application (especially Numbers, iPhotos, iTunes). What are the causes of this problem? And please advice on how to solve it. Thanks.

    Can you tell us what kind of iMac? They cover many years and generations with very different capabilities.
    A common issue:
    [Problems from insufficient RAM and free hard disk space|http://www.thexlab.com/faqs/lackofram.html]
    You might try with a bit of general maintenance/ checking:
    Boot from the installer disk, select language if applicable, choose utilities, run Disk Utility and verify (and repair if necessary) the drive. You can verify a drive from DU on your main drive while booted but I have found this can result in incorrect reporting of errors. To repair your drive you have to run it from a drive other than the boot drive anyway.
    Next, boot from your drive in [Safe Mode|http://docs.info.apple.com/article.html?artnum=107393] and repair permissions. You can repair permissions while booted from the installer disc but this uses the permissions configuration on the installer disc which may be out of date if you have run any updates on your computer. Booting your computer to Safe Mode restricts the number of things running on your computer while permissions are being run and does a bit of spring cleaning at the same time.
    [Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
    [Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
    [Disk Utility's Repair Disk Permissions|http://docs.info.apple.com/article.html?artnum=25751]
    From BDaqua (couldn't have said it better):
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer (Edit: Do not use this disc if it is not the same general version as what you have currently on your computer, e.g. use a Tiger disc for a Tiger drive, not a Panther disc), then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk.
    Then Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes."

  • Why do I only get Email when the computer is turned on?

    Using Thunderbird, If the computer is off, no emails are delivered. If the computer is on and I'm signed into my computer account, email seems to work normally. I do not need to be signed on to email.
    I previously tried Outlook and Windows Live and had the same problem. Earlier, I used Outlook Express in Windows XP which worked perfectly.
    My Email provider is mindspring and my computer is running W7 SP1.
    Thanks,
    Lynne

    Can you explain how exactly you expect to receive email when the computer is turned off?

  • Whenever i try to update my macbook pro, it downloads then says I need to restart my computer. I restart the computer, and everything just freezes. When my computer eventually turns back on, its not updated. other apps i try to download dont download also

    Whenever i try to update my macbook pro, it downloads then says I need to restart my computer. I restart the computer, and everything just freezes. When my computer eventually turns back on, its not updated. other apps i try to download dont download also

    First, do the following:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    When you complete the above re-download your OS X upgrade (not sure which one that is, but I assume Mavericks.) After the download is completed re-install it. Hopefully, this time it will do what you expect.

  • How to detect remote (client) host name or remote host address?

    Hello!
    I need to receive remote host name or remote IP address in the BSP controller DO_REQUEST method. How to do it?
    In Java I can use getRemoteAddr() or getRemoteHost() methods of HttpServletRequest class. But in the BSP I can not find analogues of these methods.
    Please help
    Best regards,
    Eugeny

    Hi,
    I guess there is something "cleaner", but here is a solution:
    DATA l_host TYPE string.
    l_host = me->request->if_http_entity~get_header_field( '~remote_addr' ).
    Regards,
    Tanguy

  • How do I deauthorized account when my computer crashed?

    Hey Guys, I got a situation here.
    My comp crashed, and didnt deauthorized my itunes account on that pic b4 I reformat everything, replace some parts and fix it.
    I think Ive breach My limit of authorized computer.
    How can I deauthorized that account (on the breach computer)
    and authorized my new one because I want to transfer my purchase.
    thank a lot

    Hey neil, Thx for the link, ive followed it, but when I try to log in, there is a message saying
    "We cannot complete your itunes request, an unknown errors has occured 9808"
    there was an error with itunes store, please try again later.
    does the same thing happend with you too?

  • How can i download purchases when 'this computer is already associated with an apple iD'

    This has happened many times when using iTunes.
    My iTunes is authorised with this computer, and i can make purchases off the iMac I'm using and
    have the music be in my iTunes library.
    BUT, I also have an iPad, and I've downloaded a few songs off iTunes on my iPad, and I'm having trouble
    re-downloading them to my Mac.
    I went into my user>purchases>download all
    but it came up with a notice saying:
    'This computer is already associated with an apple ID,
    You can download past purchases on this computer with just one Apple ID every 90 days.
    You cannot associate this computer with a different Apple ID for 64 days.'
    Please help? Ive seen this notice before, and I think i just hit 'Okay' but I can't download my songs to my mac now.
    Thanks a lot xx
    -Olivia M

    To move the purchases to your computer, click here and follow the instructions. If desired, click here and ask the iTunes Store staff if they'll waive the waiting period.
    (122818)

  • How to detect ipaddresses of other systems in a given network Interface ??

    Guys ... I know only the Network Interface and I want to know the IPAddresses that have been assigned to the other systems on that Network Interface .. I m making an application on packet sniffing..
    I want to show the list of hosts on a given Network Interface or device when a User selects one..
    but I just can't seem to find a method ...
    I know this is kinda easy .. but plz help me out..
    eg:- The User selects Nvidia Ethernet device...
    then i want to display all the computers that are connected to the Nvidia Ethernet device ..
    in short , I want to know ip addresses of other systems on a network ........

    itssumitrai wrote:
    Well... yeah I m making use of jpcap ..
    and yeah just as windows generates a list of computers on a network , I wanna show
    the list of computers along with their Ip addresses reachable vi a network interface ....
    Certainly there would be a way to access that very information using the Windows OS API.
    And plz .. its pretty clear what i want to do .. just help me out instead of finding mistakes in terms ....Help...
    Unless you are the owner of that network then I suggest that you get permission in writing (pen and ink rather than email) before doing whatever it is that you want (unless you use the windows API).
    People have been fired, expelled and had civil/criminal legal proceedings against them for network scanning even when they thought they had permission.

  • HT201274 how to restore my iphone when my phone cant turn on

    my iphone 4 want to upgrade to ios 7,after few hour later my iphone screen turn it into plug in itunes logo.then when i plug in to the computer,it show i needed to restore my iphone.but the problem is my phone cant open to the main page,it just stuck in the plug in itunes logo.i have try restart my iphone oso,but its still not working ,it come back to the same page.so my questios is how can i restore my iphone?

    To move the folder back you need to access:
    \Users\(your username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    And insert the folder back to it, iTunes will automatically recognise it

  • I do have a disturbing buzzing sound when my computer is turned and teh voice is too low unable to h

    UNABLE TOP USE SOUND TO HEAR
    CAN SOME ONE HELP ME OUT

    rk1228 wrote:
    What I want to know is how much noise my fan should be making.
    Which model MBP do you have?
    http://support.apple.com/kb/HT4132
    My warranty is over and I'm tired of taking it in to the genius bar over and over again when they can do barely anything to fix my issue.
    Did you check your MBP out prior to leaving the AS to make sure it was working properly?  What did the genius say they did & if same was repaired?  If you paid for the alleged repairs, you should take it right back & advise the genius that you are still having problems & should not be charged extra.
    Fix fan noise and overheat in Macbook Pro unibody
    http://www.youtube.com/watch?v=Mu6tKVqdgGI

  • Screen goes dark when the computer is turned a specific way. Have to pick up the computer and move around in order to get the screen back on?

    Occasionally when I turn my computer to show someone something the screen goes completely dark. Then I have to re-turn it or move it around to try and get the screen back on. Its not automatic dim because that is turned off. There doesn't seem to be any kind of pattern either. Help please!

        Reset PRAM:   http://support.apple.com/kb/PH14222
        Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
       Start up in Safe Mode.
       http://support.apple.com/kb/ph14204

  • Detect RMI client problem. Gotta be anothe way...

    For a while, I've been searching how to detect RMI client unexpected disconnection but there is no real answer for that. There is NO other way to let server know that client is disconnected beside using call back or using periodically checking client?? Something like unreferenced() to tell specific client is not holding the reference or something like that..

    In our system, almost every Remote interface has a void ping() method, and we periodically call this, and if there is an Exception thrown we do whatever we need to, to clean up.
    Often we create a local (static) proxy class to the Remote object that knows how to do the clean up, and has same methods but doesn't throw exceptions. it does NOT implement the Remote interface so there is no need to catch exceptions at every point it is called. This proxy can control the periodic pinging.
    I guess you could extend remote and add a ping method to it (call this PingableRemote), then extend this new interface instead of Remote directly.
    Also create a class that takes a PingableRemote and some callback object in it's constructor, which could then take care of the pinging and "remoteLost" notification in a form that can be re-used.
    Bruce

  • How to mark email as "read" on two computers when one computer opens the email?

    Trying to figure out how to set up so when one computer opens an email both computer show it as read.

    You must set them both up to use IMAP.
    The problem may be that your chosen/preferred email provider doesn't offer IMAP.
    https://support.mozilla.org/en-US/kb/switch-pop-imap-account

  • How do you authorize a new computer when old computer died

    My old computer died today. I am using a new computer and when I try to download from cloud the pop up comes up and says I am not authorized to download. How do I fix that when old computer is not working at all?

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (97869)

Maybe you are looking for

  • I've tried everything someone give me an answer that actually works

    "usb device not recognized try reconnecting the device if windows still does not recognize it replace the device" Ipods are not cheap and i've barely had this thing a few months its the brand new ipod touch gen4 and it worked just a few hours ago i'v

  • Text Content Conversion - File Adapter - Creates empty file

    I am running XI 7.0. Mapping from abap proxy to file - text content conversion. The process works, generates and sends file from mySAP, maps through XI, logs onto ftp site and creates file, but doesn't write any data into the file! I am really confus

  • DMEE REGUP payment docment no. mapping to FPAYH,FPAYHX

    Hi Guys,      I'm trying to modify DMEE tree logic about from vendor + payment docment no.(REGUP_VBLNR) to get reference(REGUP_XBLNR). Payment document no. VBLNR is very important in my customized tree. how can I get mapping from REGUP_VBLNR to FPAYH

  • Employee payment related to expenses etc.

    Hello, Employee payment related to expenses etc. is done at company level.. Employee are treated as vendors. Expenses like: Newspaper exp. What kind of entry will be involve for this?what kind of GL will be required and how many GL? When we see emplo

  • Shared folder history

    Hello. Is there a way to check what folders have been made accessible for others in the network since system installation? I want to make sure that none of my private folders has ever been shared. I can only see the current status, can I look back?