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

Similar Messages

  • 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

  • Using Outlook 2007 I want to receive emails on my iPhone 4 only when Outlook is NOT open on my computer, as when away from home or want to quickly check email when computer is not turned on. Either ALL emails come to my iPhone or none at all.

    Using Outlook 2007 I want to receive emails on my iPhone 4 only when Outlook is NOT open on my computer, as when away from home or want to quickly check email when computer is not turned on. Either ALL emails come to my iPhone or none at all. Is the setting I need to change in Outlook or on the iPhone or is it somewhere else?  I used to have this setting but transferring Outlook to a new laptop somehow turned it off.

    No. You really can't do that. Not easily at any rate. You would have to set them both up to use POP3, but even then there is no way to guarantee that the phone won't poll the server prior to your computer doing so, pulling down the message from the server.

  • How to detect and fix an abnormal client

    Hello,
    In my environment there is some abnormal client (there is only few actions in the client actions or its blank and in the sccm console the client is no or null)
    Usually we run a script to rebuild the wmi repository and it fix that and if it doesn't, we uninstall and install the client.
    the script:
    net stop ccmexec
    net stop winmgmt
    del %windir%\system32\wbem\Repository
    cd %windir%\system32\wbem
    for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
    for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s
    net start winmgmt
    net start ccmexec
    now my question is how can we detect when the client is abnormal(on the client)? (run a startup script?)
    thanks a lot,
    Gal

    There is no need to check the abnormality from the client end as you will be able to see it as Non-Client when it doesn't report its inventory for certain period and also you can get it via querying through the DB..
    What I ll suggest is create a query based collection to get the list of computers that did not report its hardware inventory for certain period of time, and you could get the troublesome clients..
    Below query can be used to get the computers based on the its reporting time, change the day as per your convenience..
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ResourceId not in (select ResourceID from SMS_R_System where AgentName in ("Heartbeat Discovery") and DATEDIFF(day,AgentTime,GetDate())<=12)
    Run the below query to get it from DB, change the collection it to your all systems, and the days required..
    Declare @CloTbl table
    [Associate ID] varchar(25),
    [Computer Name] varchar(25),
    [SiteCode] varchar(5),
    [LastHWScan] varchar(255),
    [Days Since HWScan] int
    insert into @CloTbl select * from(
    select Sys.User_Name0 as 'Associate ID',SYS.Netbios_Name0 as 'Computer Name', SIS.SMS_Installed_Sites0 as 'SMS Site', WS.LastHWScan,
    DATEDIFF(day,WS.LastHWScan,GETDATE()) as 'Days Since HWScan' from v_R_System as SYS
    join v_GS_WORKSTATION_STATUS WS on SYS.ResourceID = WS.ResourceID
    join v_RA_System_SMSInstalledSites SIS on SYS.ResourceID = SIS.ResourceID
    join v_fullcollectionmembership coll on SYS.ResourceID =coll.ResourceID
    join v_GS_OPERATING_SYSTEM sys1 on SYS.ResourceID =sys1.ResourceID
    WHERE coll.CollectionID = 'CA1000AA')P
    select * from @CloTbl
    where [Days Since HWScan] >'9'
    order by [Days Since HWScan]
    Hope it suffices..
    bluerail

  • How do you configure the RTC as an Extend/TCP client vs Compute Client?

    How do you choose between the Real Time Client acting as an Extend/TCP Client or a Compute Client?
    Thanks,
    Andrew

    Hi Andrew,
    I believe RT client as a Compute client means storage-disabled normal TCMP cluster node in a Grid Edition cluster, but I may be wrong.
    Best regards,
    Robert

  • How to install flash player when computer has never had it

    how can i install flash player when my computer has never had it.

    Just download and install it from http://get2.adobe.com/flashplayer/otherversions/

  • 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.

  • How to download via online when computer won't read cd?

    How can I download the Adobe Acrobat 9Pro software that came with my Scan Snap if my computer won't read the cd?

    Download the trial version from http://prodesigntools.com/all-adobe-cs5-direct-download-links.html and activate it with your serial number.
    Make sure you follow the Very Important Instructions before proceeding to the actual download.

  • How to download flash player when computer does not have a password?

    I am trying to update flash player on my Mac. I do not have a password for this computer. I have done updates before, and just ignored the box where it asks for password. Now, when I ignore this box, I can't go forward. What can I do?

    If you have set a blank Administrator password, then the install should go forward with the blank password.
    If not, then I would assume it to be a problem with your operating system.  Contact Apple.
    [topic moved to Flash Player forum]

  • How do you restore music when computer and iPod both die and get replaced?

    My computer crashed, so I backed up music to an exterior hard drive, and they had to gut the computer and rebuild it. Same day, my iPod died. I recycled it and got a new one. So now that my computer is rebuilt, I can't download the sogns from my iPod. The back up hard drive then broke down. The tech is trying to fix that. Once he does, what is the best way to transfer my music back to my itunes account so I can synch my new iPod?

    I have a follow up question to this:
    My computer also crashed and when a tech restored it, my iTunes backed to 2007. My Ipod is apparently passed warranty and has 60g worth of music! Is there any way to retransfer what's on my ipod back onto my itunes? When I tried to resync my ipod to itunes it wanted to wipe my entire ipod as if it didn't recognize it. Tech support kept asking for my ipod number when this is a itunes problem. What can I do or where can I go for help?

  • 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

  • How can play Itune song when authoriaztion does not work?

    after sharing Itune file, how can I play song when computer authorization process does not work?

    Hi dewhi,
    You can use the Adobe Cleaner Tool to uninstall CS6.
    You can download the cleaner from : http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • How to detect is response deliverred to the client?

    Hello everybody...
    I have problem and don't know how to solve.
    My server application runs on apache tomcat 5.5, and deals with some important data transactions.
    After getting the request, server has 5 sec. to send response, after that clients will close their sockets.
    The connection can be very slow, (GPRS), so it is very possible that transaction will not be over in that time.
    I need the way to find out, on my server side, when response isn't get to client in 5 sec.
    Is there any idea how to do that?
    Sorry if my English is not so perfect.
    Thanks

    Yes, but that way of write timeout means that write have 5 sec to send buffer to the underlying protocol.
    I can't know if TCP succeed or not to deliver data in that short time. I think write is asynchron.
    Problem is how to detect when client is disconnect and data are not delivered.
    Once again, sorry if my English is not so good.

  • How to find mac address of a client computer in specified time and port in WIFI WCS Control system

    how to find mac address of a client computer in specified time and port in WIFI WCS Control system

    WCS record-keeping is very crude.  
    You'll get the time/date when the client authenticated.  You'll get the local inside address but you'll need the router to translate the outside IP address and the port.  
    You will need a proxy server to determine what sites did a wireless client goes.

  • How to print hard copy on client when form submit

    I am using JSP 1.2 and JSTL 1.0 .
    I have a situation where JSP sends dynamic content
    page to the client browser.
    On this page is a submit button. When the client
    clicks on submit, the content on that page gets printed
    to the default printer connected to the client' computer.
    Also the printer setup dialog should not appear when submit
    is clicked.
    Is there anyway to do it using only JSTL on JSP or Java code in servlet
    without using any scripting language like Javascript ?
    Thanks for your thoughts

    JSP cannot give you access to the local O/S commands such as the printing API. The closest you can get is to use <form name="form1" method="POST" action="mythankyoupage.jsp" onSubmit="window.print()">
    </form>Unfortunately, you can still not guarantee this behaviour, my IE6 pops up a print dialogue on this command, other user settings will behave differently.

Maybe you are looking for

  • Importing mail from 10.5.8 mail3.6 to 10.6.2 mail 4.1

    I used Migration Assistant to load my things from PPC Power Mac to new iMac and, for the time being, I had both machines on the ethernet. Some of the incoming mail was picked up by the new, some by the old machine. Before de-commission the PPC I'd li

  • Unable to copy the Price Modifiers associated with a Sales Order Line

    Dear All, I am copying Sales Order Line using the process_order API. I was not able to copy the Price Modifiers associated with the Lines. How can I accomplish this..? Is there any API available for copying the Price Modifier info associated with the

  • Calling LDB (logical Database)  into ALV output

    h1.Dear Experts, h3.I have called LDB AFI in my Z program. h3.My requirement is in program i have to call LDB and output it in ALV  display. h3.But in output only one entry get displayed . h3.Here is my code...... REPORT  ZLDB_PROGRAM1               

  • Issue in Canada Ship To Address.. URGENT

    Hi All, We added Ship to Address Form in Ship To Page in iStore . 115.10.2 If I click on 'Continue Checkout' button , then it redirects to same page wiht the following errors Address Line 1 is required Field and Province is Required Field Please any

  • Latest Flash plugin causes firefox to crash when printing

    Firefox will crash anytime I attempt to print a webpage. It doesn't happen in safemode. Disabling the Adobe Flash Plugin removes the problem. The Flash Plugin is the current version from adobe.