Socket - keep it alive or reconnect every time you need it?

Hello, there.
What would be the better approach for using the Sockets in AS3.
1st) open one connection and keep it alive until the site unloads?
2nd) open a connection, use it, and close it when done; then, open again when I need?
Considering a scenario where some users will make a constant use of the Socket, but others will almost not use it, what would be the better approach? Does an alive Socket connection use too much bandwidth? Does the action of connecting consumes more than keeping it alive? What is your opinion?
Thank you all!
CaioToOn!

I think that kind information  is inposible to be get because it depends of internet connection. From some users the time will be less from the other users.
Also keep alive msg may depend from protocol and my be only one Byte sendend on every 15 sek ( for example )

Similar Messages

  • Do you have to down load from the internet using apple's recover partition, every time you need to do a clean install? or can you make a copy of Mt Lion onto a USB stick and install off that?

    Do you have to down load Mountain Lion from the internet every time you need to do a clean install? or can you make a copy of Mt Lion onto a USB stick and install off that?
    Thanks

    Yes you can make a USB stick of Lion or Mt Lion. Use Lion Disk Maker after you download OS X from the internet.
    For Lion you have to point the download to an external drive and watch when it completes and reboots the system to start the install disconnect the external. If you bought Mt Lion from the Mac App Store then you can download it from there and just cancel the install when it comes up on the desktop.
    If you are downloading from the Recovery HD or from the Online Internet Recovery system, slightly different then the built in Recovery HD, then again you need to point it to an external drive and discoonect that drive when the system reboots to start the real install.
    Then use Lion disk maker to create either a DVD disc or USB thumb of the install files.

  • How do I remove the digital signature option on Adobe Acrobat 7.x? I don't want it, but it pops up every time I need to sign a form, and I cannot find a way to remove

    I created a digital signature to sign forms using Adobe Acrobat 7.x. I really don't want or need this feature, but do not know how to remove it or keep it from popping up every time I need to sign a form. Can anyone help? I'm not that technically savvy, so please explain in layman's terms. Thanks!

    It's not clear to me what you're trying to accomplish. If you get rid of your digital ID you will still be prompted to create/add one when you need to sign a form, which you say you still need to do? Do you really just want to e-sign (hand-drawn signature, or stamp) instead of digitally sign? Do the forms you're using have digital signature fields?

  • I keep getting the following message every time i plug in my Iphone to Itunes on my windows vista computer  Itunes was unable to load data class information from sync services. reconnect or try again later.  any suggestions pls  Mario

    I keep getting the following message every time i plug in my Iphone3gs to Itunes on my windows vista computer
    Itunes was unable to load data class information from sync services. reconnect or try again later.
    any suggestions pls
    Mario

    The article says that I should upgrade to the latest iTunes. I am on the latest iTunes version.
    If you could read just a tiny little bit further, under the "Additional Information" section immediately after that, it says:
    If you are still experiencing this issue when syncing, or have not installed Xcode 4 and get this alert:
    Follow the troubleshooting steps in Mac OS X v10.5, v10.6: Resetting the SyncServices folder.
    If the issue is still unresolved, follow steps in Sync Services: Advanced troubleshooting for contact and calendar syncing.
    Have you tried those measures?

  • I use the Icalendar at home, at work, and on my Iphone.  I don't want to have to "sign in" every time I need my calendar.  How do I stay signed in?  I have checked the "keep signed in" box, but it does not work.

    I use the Icalendar at home, at work, and on my Iphone.  I don't want to have to "sign in" every time I need my calendar.  How do I stay signed in?  I have checked the "keep signed in" box, but it does not work.

    Welcome to the Apple community.
    Staying signed in at iCloud.com is not a problem for me. Try resetting your browser or emptying its cache.

  • TS3297 I keep getting 1004 error message every time I download an app

    I keep getting 1004 error message every time I download an app

    Turn off your anti virus, see if that helps 
    http://support.apple.com/kb/TS3125

  • Creative cloud applications keep asking me to login every time I launch an application

    Creative cloud applications keep asking me to login every time I launch an application on a same machine.
    How to solve this problem?
    Windows 7 Professional.

    Or it could be patially related to typical pains when a company makes an enormous transition like this. Ironcially, just as i said in my post, my issue resolved the next day.
    Listen, I undertstand the concern and certainly the frustration. I spend nothing short of 14 hours per day with Adobe apps open. primarily After Effects, Photoshop and Illustrator. I know the hassle and I know the frustration of constantly having to sign back in, which i did for a bit too. But it's just a little melodramatic when people make idle threats they aren't going to follow through with anyway, about using a product that does what this does, and is such an enormous productivity tool that people say silly things. that's what I'm referring to. If you're going to choose an entire platform different than Adobe becuase theyr'e having issues on a brand new method of service and delivery you're an idiot anyway. Wouldn't you agree that the statements of ' i don't have time to test something' are a litle ridiculous? name any product, or purchase in any part of your life that has never failed at anything? and then saying thigns like it's suddenly an unstable environment, when the problem they're complaining about (and the complaint of course it legitimate) has absolutely nothing to do with the stability of the product?
    it's the overblown, silly statements that make people look foolish, do nothing to help the issue, and offer nothing that crack me up. When I read someone saying things like that i pretty much ignore anything else they say because reason isn't something they are using at that point anyway.
    See what you said? that has nothing to do with anyone I'm talking about. You made a valid point, didn't make silly comments like what I'm referring to. you said something I don't agree with, but you dind't go overboard and get all dramatic about it. I don't agree that it's an ongoing degredation of their rep. there is nobody even remotely close a valid competitor out there for this in the first place (depending on what software yoiu're referring to, but since we're in the CC forum i assume that's what you mean). The fact is, their reputation is so strong, no other software company can even compete. But even so I still see progress and innovation. Intel had a cushion with no competitor at one point, then AMD came in, and if you notice, within a couple years of AMD getting very popular, Intel started releasing their upgraded technology in less than a third of the time. But I don't think I see that laziness from Adobe. I don't honestly know that the reason is they moved to a subscription based environment but I know that almost all big software companies are at leasdt considering it. heck Microsoft was talking about changing their licensing and doing it the same way. And it's not for greed I'd guess, it's to comabt theft. At least that's my guess, i have no idea, but i don't believethat it's done and they would change their entire business model for a reason lefss important.
    While we're on that topic I'd like to point out i bet this new process makes an enormous dent in the piracy, at least short term, so for me I applaud it. because when so many people steal the software, it means people like me, and i assume you, pay much higher prices for our legit licenses. So anything that can be done to thwart that has my full approval. But it also just happens to have some nice benefits, in that the pricing is pretty ridiculously low IMO for the entire suite of apps for 50 bucks per month. let' be honest, anyone using them for business which is primarily what this softwre is geared to, understands that while it might seem high, it's tiny compared to the montly cost of doing business, to keep an up to date, suite full of apps that would cost thousands were it not for the subscription. I'll admit, I bought the full suite on the montly just because it made sense. And it actually paid off. Recently I had a client that desperately needed ihs forms migrated to interactive. they were word docs, excel and plain pdfs, but because I happen to have a license for Acrobat, i was able to import those into pdf files and convert them to interactive forms. Then recommend he use the online service to manage them, and frankly it paid for 6 months of licensing for 10 hours work. were it not for the subscription based licensing i'd not have even been able to offer the service because I wouldn't have paid for acrobat.
    Complaining about a piece of software you buy that doesn't work in an area, regardless of where it is, makes perfect sense. But the statements I'm referring to equate to someone buying a house, finding out the key doesn't work, or the doorknob is broke, throwing their hands up and saying 'i'm finding anohter house'. it's silly, and everyone knows there's no merit to it. But i get frustrated seeing it over and over, frewquently by people that hven't even paid for the software. Sometimes I post thing I shouldn't but hey, don't we all?
    I like to browse these forums becuse I'd say i've learned as much of my knowledge by reading tricks, tips and resolutions posted in forums as I did through my classes and education. That's possibly an overstatement but not by much. I do get just as frustrated at the people constantly trying to belitte the company as they do with their issues.

  • My tabs will not restore after starting Firefox -- even with the option to restore my tabs and windows is checked in the "options" window. I'm losing tabs from previous sessions that I need to keep open every time I need to restart. Thanks for any advice!

    Is there something else I need to tweak to get rid of this annoyance instead of simply clicking the check box? I'm losing tabs from previous sessions that I need to keep open every time I need to restart. Thanks for any advice!

    Make sure that you do not use Clear Recent History to clear the <i>Browsing History</i> when you close Firefox.
    *https://support.mozilla.com/kb/Clear+Recent+History
    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js [3] files with a number and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js
    * [3] http://kb.mozillazine.org/Multiple_profile_files_created

  • Why is Logic Express 8 keep stopping after 2 sec, every time I press play? Help!!!

    Why is Logic Express 8 keep stopping after 2 sec, every time I press play? Help!!!

    Its likely to be caused by Ozone5.. many people have reported that plugin is currently quite unstable and are awaiting updates from izotope to fix the problem... No ETA has been given by izotope for the fix however...
    Also several of your plugins are out of date (Zebra2, Clariphonic, Ozone itself.. to name but a few,)
    Finally, you are running an older version of Logic Pro X (10.0.3)...and  I would normally suggest you update to the latest version  but... if you have a USB2 audio interface do not update to 10.0.5 at this time.... unless you know it will work correctly with the new version of LPX.

  • Safari keeps opening a new tab every time I click. How do I stop this? I am currently using OS X Yosemite 10.10.1

    Safari keeps opening a new tab every time I click. How do I stop this? I am currently using OS X Yosemite 10.10.1

    Can you please run EtreCheck:  https://discussions.apple.com/docs/DOC-6173
    and post the report here?

  • Adobe Reader keeps crashing on my iPad every time i am highlighting the text

    Adobe Reader keeps crashing on my iPad every time i am highlighting the text. Didnt have this problem before. Please help.

    Hi MR.LUSTIN,
    We are not able to reporduce this issue at our end. Could you please share the file with which you are having this issue or is it like with every file this issue is there?
    Thanks,
    -Shilpi

  • HT204088 why dose it keep saying(conot connect to your itunes account please contact itune support)every time i need to purchase any thing ,now i cannt purchase

    why dose it keep saying(conot connect to your itunes account please contact itune support)every time i need to purchase any thing ,now i cannt purchase any thing from itunes??!!

    We are fellow users here on these forums, we won't know why you are getting that message. If you haven't already done so then you can contact Support via this link :  http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Why do my bookmarks keep changing to the default every time I close Safari?

    Why do my bookmarks keep changing to the default every time I close Safari and why does my history keep clearing?
    I want to save my bookmarks for my favorite pages but every time I close Safari the default ones (Apple, iCloud, Facebook, Twitter, Wikipedia, Yahoo, News and Popular) re appear.
    Basicaly I want Google instead of Twitter and Yahoo and I also don't want it to keep clearing my history.

    Step one is to log into a newly created admin user account and see if the problem persists.

  • My iMac keeps showing an install bar every time I reboot or restart since upgrading to OS X Yosemite. This never occurred in any of the previous OS. Is this new or a problem?

    My iMac keeps showing an install bar every time I reboot or restart since upgrading to OS X Yosemite. This never occurred in any of the previous OS. Is this new or a problem? I have an iMac (27-inch Mid 2010), Mac OS X (10.6.7).

    they moved to a progress bag instead of the spinning gear or beach ball

  • Every time I close my Macbook Air and then go to use it again. My wifi is not connected, I have to go to the network diagnostics and basically find my network and reconnect every time. Is there anything I can do to fix this?

    Every time I close my Macbook Air and then go to use it again. My wifi is not connected, I have to go to the network diagnostics and basically find my network and reconnect every time. Is there anything I can do to fix this?

    worksafe's link with the KeyChain fix is good.
    This usually happens when KeyChain has two entries for the same WiFi network.
    If repair did not work you can follow the manual steps:
    Disconnect WiFi
    Open KeyChain from Applications / Utilities and find your WiFi network entry(ies) and delete all of them.
    Connect to your WiFi again.

Maybe you are looking for