How Server will know when some client Get disconnected

Hi...
I am devloping a chat application.... there are loats of users. and one user can have many friends in his/her list. and showing in two groups as Online And Offline.
How Chat Server will know what is the user's Status(online or offline) When the user will get disconnected due to Internet failure
" Let you are a user having 10 friends, and when you loged in, at that time you have 5 online friends and 5 offline friends. lets after some time one of your online friend get disconnected from server due to any kind of netwrk failuer, then how server will know about it."

When the server tries to write to the socket and verify that it is OK, then it will return an error.

Similar Messages

  • I have my credit card on my daughter's i pod and i needed it to set up the apple id how do i make it so she can't spend any of the money but still get free apps.? Also she has a$15 app card on there how do I know when she buys apps which payment it takes?

    I put my credit card on my daughters new i pod. How do I block her from buying apps but still being able to download free apps? Also she has a $15 app card on the i pod how do i know when she buys something whitch payment it will take the visa or app card? PLEASE HELP A.S.A.P. THANK YOU

    You can
    Create a NEW account using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    You can have apps purchased from more than one account. It does complicate update apps though.
    - Go to settings>Store and sign out and sign into your account.
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • HT6154 I bought iCloud storage a few months ago and now I want to buy some more, how do I know when I purchased the first one?

    I bought iCloud storage a few months ago and now I want to buy some more, how do I know when I purchased the first one?

    Read here:
    http://support.apple.com/kb/HT4874
    What happens is your existing plan gets canceled, & you're charged a pro-rated amount.

  • How can we tell if the iphone is already fully charged in ios7? Even if its 100% the thunderbolt icon is still displayed. Not like in ios 6 that we will know when to unplug the charger because there is an indicator.

    How can we tell if the iphone is already fully charged in ios7? Even if its 100% the thunderbolt icon is still displayed. Not like in ios 6 that we will know when to unplug the charger because there is an indicator.

    For those who seem unfamiliar with what is being asked:
    On iOS 6 and older, just because the phone reached 100%, didn't mean it was Fully Charged. The way you could tell was the lightning bolt symbol that indicated the device was charging would change to an outlet plug when the device was not only 100%, but also stopped accepting further charge. This symbol switch would occur anywhere from 5-15 minutes after the device already was displaying 100%.
    Now, on iOS 7, while it still reaches 100% with that same lightning bolt charge symbol, during the 100% point, it never switches to the plug symbol to indicate the charge period is totally finished.
    Can anyone confirm if there is a way to see this charge completion in iOS 7 since it appears that there is no longer a symbol for it? Is there any indication that Apple may have changed the charging display so that now it only displays 100% when it would have previously displayed that plug symbol?

  • I ordered cards 1 week ago through iPhoto and I have not yet received a shipping confirmation.  How do I know when/if the cards will be processed and shipped? Thank you.

    I ordered cards 1 week ago through iPhoto and I have not yet received a shipping confirmation.  How do I know when/if the cards will be processed and shipped? Thank you.

    go to the online apple store (store.apple.com) and check your account for order status
    LN

  • I am using a WD external hard drive for backing up my laptop with Time Machine, but I have to do it manually. How do I know when it has finished the back up? How long should it take?

    I am using an external WD hard drive for backing up my laptop. I have to do it manually, so I can't set Time Machine to just do it for me. How do I know when it is done backing up? How long should this take?

    Triple-click anywhere in the line below to select it:
    tmutil compare -E
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command will take at least a few minutes to run. Eventually some lines of output will appear below what you entered.
    Each line that begins with a plus sign (“+”) represents a file that has been added to the source volume since the last snapshot was taken. These files have not been backed up yet.
    Each line that begins with an exclamation point (“!”) represents a file that has changed on the source volume. These files have been backed up, but not in their present state.
    Each line that begins with a minus sign (“-“) represents a file that has been removed from the source volume.
    At the end of the output, you’ll get some lines like the following:
    Added:
    Removed:
    Changed:
    These lines show the total amount of data added, removed, or changed on the source(s) since the last snapshot.

  • How do you know when your MacBook is infected?

    Hey All. Well my question is how do you know when your MacBook is infected with a virus? I came off windows and i have norton antivirus so i have something to tell me there. But on the Mac OS you rarely get viruses and i dont have a anitvirus program, so how do you know when you have one? And what does it do?
    Thanks!

    Since no ones got one that I know of it is hard to say. I figure that when the day comes that someone writes a Mac virus you will know real quick what happens. If your concerned you could use ClamXav. I use it if I download something for my wife's PC but have never found anything yet.

  • How do we know that some of the jobs have been held up in the BW system.And

    How do we know that some of the jobs have been held up in the BW system.And after we know that some of the jobs have been held up, how do we restart it?Please provide me an answer.It is very important.I will assign points
    Regards,
    Poonam

    Hi,
    Tcode sm37 is the place where you can see the background job status.
    Jobs have been help up
    as per my understanding
    1) job has been triggered and kept it in hold
    Now when a job has been triggered, and is kept in hold for its associated process, then you have to wait, becuse the target on which the job has been run is currently used by other and because of this the present job is kept in hold.
    Also see the st22 for any shortdumps.
    2) Job itself has not yet triggered
    The jobs will be in released state and will not trigger, normally this occurs when that particular job is waiting for the event to trigger it, and probably the even has not yet triggered or even if triggered the communication mightnot have been made to the job to trigger. These situations can be attributed to many things lyk system performance, or some internal comm failure, some DB dead locks etc.,.
    Now for the first one, start the job immediately with high priority ( if required ) and once completed reschedule it again as normally it is running
    for the second , you can trigger the particular event in sm64 and c has the job came to active state or not.
    or else you can copy the job and schedule is immediately.
    Hope this helps
    Janardhan Kumar

  • When archiving emails in airplane mode, is there a limit on how many will sync when back online?

    When using an iPad in airplane mode and going through your inbox archiving mail, is there limit on how many emails you can move before it will not sync back to the exchange server?
    In this case I have two iPads, both syncing with an office 365 server. I synced 3 emails on one iPad in airplane mode and this was fine. However, the other iPad had synced over 80 emails. The second iPad did not sync any of the changes once reconnected to the network.
    Is there a limit on how many will sync when back online? Or is something else the cause of this problem?

    I don't aware of such an limitation on Outlook side.
    The only limits that I know is that your mail service provider might restrict the number of messages sent per hour/day and the number of recipients per message.
    Aravindhan Battepati

  • How do I know when my backup is complete to my external hard drive

    How do I know when my back up is complete to an external har drive...new user

    Welcome to Apple Support Communities.
    If you are using Time Machine, open , System Preferences, System, Time Machine.
    It will show the status of the backup drive, including the date of the first backup, as well as the most recent.
    Checkmarking the 'Show Time Machine status in the menu bar' will allow you to view the latest Time Machine backup by clicking on the icon in the menu bar, without going through System Preferences each time.
    Clicking Open Time Machine Preferences... from the menubar takes you to the same Preference screen as shown above.
    The first backup will take a while, up to several hours or more, because it is a complete backup of everything on your system.

  • Hello .. I need to know please how do I know if some one got the access to my iCloud account and saw my phone contains ? Thanks

    Hello .. I need to know please how do I know if some one got the access to my iCloud account and saw my phone contains ? Thanks

    Ahmed8885 wrote:
    but I was shocked when I log in using my account on my friend iPhone device and I was surprised that I started to receive and see all my photo stream loading to his phone !
    Really? What did you expect was gonna happen when you logged in using YOUR APPLE ID/PASSWORD?
    That's the way things are supposed to work.

  • How do we know, when the service contract is last modified ?

    How do we know, when the service contract is last modified and by whom ?
    thanks
    siva
    Edited by: sivapara on Nov 24, 2008 3:14 PM

    To add also in OKC_K_HISTORY_B for some actions.
    Thanks
    Nagamohan

  • HT1498 How do I know when the rented movie is downloaded

    I will be flying across seas and I want to download several rentals but how do I know when they are download completely to my iPad so once I'm up in the air I can watch them without being connect to the internet.

    There are many ways, such as a gray screen on startup, kernal panics, very slow startup times, etc. These items alone don't always point to a failing HD but are symtoms, also if you hear the HD making a lot of noise, that is a pretty sure sign.
    If you suspect  yours is failing it  would be helpful to tell us the symptoms you are experiencing.
    One thing you can test for is Disk Utilities S.M.A.R.T. status of the HD, if it says anything but Verified then it's failing. However that test alone should be taken with a grain of salt, because a drive can be Verified but still failing.
    If you have ANY doubts about yours, Backup IMMEDIATELY and take the computer to your local Genius Bar or AASP to be tested.

  • How we will know that dimension size is more than the fact table size?

    how we will know that dimension size is more than the fact table size?

    Hi,
    Let us assume that we are going to take Division and distribution channel in a dimension and assume we have 20 distinct values for Division in R/3 and 30 Distinct values for Distribution channel .So Maximum, we can get 20 * 30 records in dimension table and we can take rough estimation of records in the cube by observing the raw data in source system.
    With rgds,
    Anil Kumar Sharma .P

  • How do we know when datafile was added to a tablespace

    HI experts,
    I wanted to know how do we know when datafile was added to a tablespace.
    Actually i need to monitor how much space was used for a month for a tablespace
    thanks in advance

    Which could be turned into an external table and queried at will:
    Demo of the alert log as a table at:
    http://www.psoug.org/reference/externaltab.html
    Just a quick note with respect to background_dump_dest for anyone starting into 11g. It is deprecated and BDUMP and UDUMP no longer exist: Read the docs.

Maybe you are looking for

  • Configuring listener and tnsnames

    I have installed Oracle 10g Database, Oracle AS Infastructure, Oracle AS Middle Tier on the same machine. Can anyone tell me how to configure the single listener for all the 3 Oracle Products.

  • Question about Creative Earbuds

    I just bought a pair of CREATIVE LABS EP-640's for my new zen. I had been using the Sony MDR-EX75's and wow, what a nice difference. My question though is are EP-630's really the Sennheiser CX300 and the EP-640's really the Sennheiser CX400? Pricing

  • ITunes stopped recognizing my iPhone.

    I recently upgraded from Tiger to Leopard, and iTunes (8.0.2) stopped recognizing my iPhone while iPhoto still works with my iPhone (I was able to download photos from my phone using iPhoto). What's going on?

  • [solved] and yet this question..why my rc.local doesn't work

    Hi, I would like to add some commands to the rc.local but I can't figure out why rc.multi is reading it but it doesn't have any effect. rc.local #!/bin/bash echo "LOCAL" /usr/bin/xset dpms 180 360 720 &> /dev/null /usr/bin/cpufreq-set -c 1 -f ondeman

  • Opening itunes from an old Hardrive

    Ive installed a new harddrive onto my pc and now cant get into my old itunes library. the itunes logo is no longer on my desktop. Ive got the old drive running as a secondary hard drive so i can get into all the documents on the old harddrive, does a