How to detect disconnection of client from server. want a perfect solution.

hello friend...
this topic is so many times discussed but each every time no clear view of pic has...
setKeepAlive(true) method set socket to wait for 2 hour it is not possible to set this for smaller time say 1 minute. and all of u think it is a best one for detecting the client is not connected.
i m devloping a chat system like messenger stand alone application. now if net connection down client can't do activity.when connection is up client try to login again but it wil detect alredy logged in coz socket is not closed by the client.......
not possible to devlope heartbit probing by our self any idea to devlope heartbit probing please.....
my final sem project is not going ahed coz of this problem.....

i don't know about thus but u ask about get the truly ip in some post .
You need to set up LAN, local IP addresses (192.168.1.x or alike). A corporate proxy server should forwards ALL requests to a free anonymous proxy server (you need to have skills and rights of a system administrator in order to do that). It's impossible to connect to the Internet bypassing a corporate proxy, as long as external IP address is not assigned to local machines. It's also impossible to scan local machine's settings: even if Java/ActiveX applets detects and gives out your local IP address (192.168.1.x) to the web server, your anonymity will remain unbroken. So, basically, you can rate this option as 100% anonymity.
When he/she is behind a Lan with a wingate or corporate proxy its imposible to track the real ip with Java & Javascript.
Also if he/she used proxies and afirewall its also imposible to track him/her
with Java & Javascript.
regards and tomorrow i help about that questions
cheers
Babalu

Similar Messages

  • How to run the client from server

    HI FRIENDS,
    I HAVE A SMALL PROBLEM WITH MY PROGRAM.I WANTED TO START THE CLIENT FROM SERVER I.E THE CLIENT SHOULD BE EXECUTED AS SOON AS THE SERVER STARTS EXECUTION.SOME OF THEM SAID THAT THIS CAN BE DONE BY USING 'EXEC' COMMAND.BUT I COULDNT.SO PLEASE ANYONE HELP ME IN DOING THIS.
    BYE
    KP

    HI FRIENDS,
    I HAVE A SMALL PROBLEM WITH MY
    MALL PROBLEM WITH MY PROGRAM.I WANTED TO START THE
    CLIENT FROM SERVER I.E THE CLIENT SHOULD BE EXECUTEDCan't be done, unless the server and the client are on the same machine, or you have some other COM object or service set up to allow someone to do this remotely

  • HT3529 How do I disconnect one iphone from another iphone's iMessage?

    How do I disconnect one iphone from another iphone's iMessage?

    He needs to get his own Apple ID.
    Have him logout from your Apple ID at settings>>iCloud .
    He should then set up his own Apple ID.

  • How to detect disconnect tone in spa112

    In spa-3102 is very easy: http://ubuntu4us.corp.eng.br/artigos/voip/asterisk-pbx-and-linksys-spa-3102
    How to detect disconnect tone in spa112 ????

    SPA112 has no FXO line at all. It have FXS lines only.
    Analog phone devices connected to FXS port could just hang-up if they are wishing to terminate the call. No busy tone detection is necessary nor implemented for FXS port.

  • How do u get the data from server? if server send by bytes?

    how do u get the data from server? if server send by bytes?
    i have tried using bufferedinputstream to get the data n getting the bytes but there is some data missing.i couldnt all data.so my image cant be display

    If you don't get helpful replies, I suggest you try to improve your question style a bit. There are many non native English speakers around here and the ability to phrase slick sentences varies. But for a start you could try to adhere to minimal English language standards like starting a sentence with an uppercase letter, and ending a sentence with a dot and a blank to separate it from the next sentence. Don't use ellipses (...) all over the place suggesting that the reader knows what you want to say. Rather please say it.
    Its is good style to only post the necessary code to understand the problem. However, the code you posted seems to be cut off too early to even get a grasp at what you are trying to achieve.
    Harald.
    BioMed Information Extraction: http://www.ebi.ac.uk/Rebholz-srv/whatizit

  • How do I disconnect my iphone from syncing with my macbook through safari?

    Recently my sister got the iPhone 6 and everytime she uses Safari on the 6, it links up with my MacBook when I am trying to do something. It shows up in the bottom left corner of my dock with a little phone notification on the safari app. How do I disconnect her phone from my computer?

    Ensure she's not signed in to your iCloud account. Otherwise you can manually deactivate Handoff on the iPhone via Settings>General>Handoff & Suggested Apps.

  • HT4436 how do I disconnect a device from iCloud

    How do I disconnect a device from iCloud and not lose all of my contacts, etc?

    Go to Settings>iCloud and turn all synced data (contacts, calendars, etc.) to Off.  When prompted, choose to keep the data on your device.  After everything is set to off, scroll to the bottom and tap Delete Account.

  • How do i disconnect a library from my ipod when my desktop won't power up.

    how do i disconnect a library from my ipod when my desktop won't power up. i need to link my new laptop library to the ipod and move the music from my ipod to the laptop

    This will transfer/copy music from the iPod to the computer like I said in my first reply.
    - Transfer iTunes purchases by:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Transfer other music by using a third-party program like one of those discussed here:
    newer copy

  • I just got a wireless printer and we followed the directions on how to hook it up to the iPad. Somehow it seems as if we hooed it up to the wrong printer. How do we disconnect this printer from the iPad so that we can connect the correct printer?

    I just got a wireless printer and we followed the directions on how to hook it up to the iPad. Somehow it seems as if we hooked it up to the wrong printer. How do we disconnect this printer from the iPad so that we can connect the correct printer?

    AirPrint finds any air print enabled printers on your wifi network, and won't find any printers that are not.  So if you print from, say, safari, and it finds that printer, then that is your printer.   It may have a different name than you were expecting.
    Turn the printer off, and see if the print job still sees the printer.  That will confirm that the one it sees is yours.
    What happens when you send the print job?
    If you are sharing a wifi network with others, and one of them has a AirPrint printer on the network, you will see that one.  There is not way to have it forget one, so you will need to know your printer from the other printer, and select the right one.

  • How can I send an email from Sharepoint Online using sandbox solution?

    How can I send an email from Sharepoint Online using sandbox solution?
    If possible I do not want to use workflow.
    Is It possible to do it without using workflow?

    hello Steven Andrews,
    when any user sends a message using contact us page in SharePoint online.
    1. We are inserting item in Contact Us List . - This is working fine
    for anonymous users also. We have used Office365 anonymous codeplex wsp and it is working fine. Anonymous user is able to insert new record in the Contact Us List.
    2. Once, new record is inserted in Contact Us list, we want to fire email notifying thanks to the user on his email id as well as to our company x person for notification of new inquiry. 
    We tried using Workflow having impersonation step for  anonymous user but it is not working for Anonymous users. Workflow is able to sent the email if someone logged into system but not working for Anonymous user although workflow is getting started
    but not able to send email although used Imperonsation step.
    We are stuck into implementing second step.

  • How to access Hyper-V Client from Hyper-V Server to the new machines?

    Hi
    We have a small company in that we have 50 machines, i am having windows 2012 r2 server, i installed Hyper-V with that i have created virtual OS(winxp and win7) in the Hyper-V server. My question is how to access them in client Machines, Can Anybody help
    me in this regards?
    Regards
    Meer Akbar Ali

    Hi Meer,
    In addition ,  you need to use external virtual switch for these VMs that are used for RDP connection from clients .
    Please refer to the article below for virtual network configuration :
    http://technet.microsoft.com/en-us/library/cc732470(v=WS.10).aspx#BKMK_ConfigVN
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to prevent B radio clients from connecting

    How can I enforce only G & A radio clients from being able to connect to my 1131AG Access Points?
    I know that when a B client connects it automatically brings all the G clients down to B due to the fact that G is backward compatible but does not operate at 54 mbps with a mix of B clients.

    Hi Sparky,
    Here is one method;
    To set the 2.4-GHz, 802.11g radio to serve only 802.11g client devices, set any Orthogonal Frequency Division Multiplexing (OFDM) data rate (6, 9, 12, 18, 24, 36, 48, 54) to Basic.
    Note: The client must support the basic rate that you select or it cannot associate to the wireless device. If you select 12 Mbps or higher for the basic data rate on the 802.11g radio, 802.11b client devices cannot associate to the wireless device's 802.11g radio.
    From this good doc;
    http://www.cisco.com/en/US/docs/wireless/access_point/12.3_2_JA/configuration/guide/s32rf.html#wp1083005
    Hope this helps!
    Rob

  • How to create Web Service Client from wsdl with digital signature?

    Please, help me to create Web Service Client from wsdl with digital signature. I know create Web Service client from wsdl file and I know how to add digital signature to XML with jwsdp, but I don't know how to do it together.
    Thanks.

    I'm handling security wit JAX-WS handler. So I insert "manually" ws-security tag and I encrypt (and sign) message parts.
    On client side, all works fine, but on server side I obtain:
    ---Server Inbound SOAP message---|#]
    Decrypting message and rebuilding Valuees... |#]
    Starting decrypt|#]
    . dectypted.!
    --found following string: <ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona>|#]
    ...MESSAGE Restored.|#]
    <?xml version="1.0" ?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ns1="http://calculator.me.org/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soapenv:Body><ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona></soapenv:Body></soapenv:Envelope>|#]
    Error in decoding SOAP Message
    Error in decoding SOAP Message
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:89)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.toMessageInfo(SOAPMessageDispatcher.java:187)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:571)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:145)
            at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:178)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:109)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:100)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot find the dispatch method
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.raiseFault(SOAPDecoder.java:674)
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.decodeDispatchMethod(SOAPXMLDecoder.java:152)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBodyContent(SOAPDecoder.java:337)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBody(SOAPDecoder.java:327)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeEnvelope(SOAPDecoder.java:250)
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:81)
            ... 29 more
    |#]
    --->handleFault O_o<---|#]If you have any idea for solving my problem, then I can post my simple example :(
    Bye!

  • How to identify different connections/clients from RMIServer???

    Anyone knows how one can do to identify different connections or clients from the implementation/server-object in RMI?? Do I have to send a hostname from the client via method parameter?? If so, any recommendations on which unique name to use??
    Would really appreciate any answer to this!!! - thanx in advance!
    ps; tried currentThread.getName(), but it would return different names from same client (changing at each call).
    /Alejandro

    Hi,
    in order to identify clients I maintain a hash with references to
    the clients. The clients register and unregister with special
    remote methods of the server RMI object.
    I didn't see an API in RMI to do this for me. And it was fairly easy to implement.
    Have fun,
    Klaus

  • How do I disconnect my iPhone from one Apple ID after reregistering it to a new ID?

    I had two iPhones registered to one Apple ID; when texting between the phones, the primary phone received both the sent and received from both - I've since deregistered one iPhone and created a separate ID for it. But the sent/received messages continue to appear on my primary phone. How do I disconnect the reregistered phone from my primary?

    You need to completely sign out of the old id including to iCloud, iMessage, Facetime, AppStore, Game Center, Turn off Home Sharing or Photo Sharing. Everything you have been using with your old id and then completely sign in with the new apple id.
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store

Maybe you are looking for