Keeping the connection open while in sleep

I was just wondering if there is anyway to keep the internet connection open while the computer is in sleep mode? I have looked around for a little bit but I figured someone else probably already has an answer.
Just to clarify I don't mean closing the laptop but just putting it into sleep mode. I've read you can't keep a connection open while the laptop is closed but I was wondering if there was a difference between putting it to sleep and closing the laptop.
Message was edited by: Boogie Chillen

No difference. If you need to keep the connection open, which is what I do, then set the Energy Saver to never sleep.

Similar Messages

  • Keep DB Connection Open

    I have an Oracle stored procedure that I need to call for a list of records in Crystal.
    What I have done is created a UFL to make the call and provide the return results.
    I call the Custom Function for each record returned however, it's taking a long time to process.
    I believe this is because the connection to the oracle database is being opened, called and closed for each record.
    Is there any way to open the connection when the reports starts running, return the results for each record and then close the connection when the report completes?
    Any help would be appreciated.
    FYI - I am using CRXI R2
    Ray

    Hi Raymond,
    The reason why CR opens/closes for each record is because you are using a UFL it's going to be processed on the second pass of the report which means because it's a formula CR will process it after the connection is closed. If CR can convert the formula into SQL then it happens server side but in your case you need to run the query for each record.
    Have you had a look at using a Command Object? It would require returning all of the data but at least the ufl function would then filter on the Command data and not hit the database. You may have to re-write your UFL functions so it doesn't go to the DB but uses the cached data in the Command object.
    Another option would be to write your own OLE DB Provider. DataDirect who we partner with for data sources, offers an SDK so you can build in security and anything else you need or would like to have.
    http://web.datadirect.com/products/custom-driver-sdk/index.html
    As for stopping CR from disconnecting that won't happen. We release the connection to free resources once we are done, keeping the connection open causes problems for all applications like Brian indicated.
    You may have to re-design your report and do the filtering client side rather than server side.
    Thank you
    Don

  • What keeps making the cyclical noise while in sleep.  Sounds like iMac is loading a graphic or different screen.

    What keeps making the cyclical noise while in sleep?  Sounds like iMac is loading a graphic or different screen.  Does it periodically while in sleep mode.  How do I correct this?  Just started doing it in the last few months.

    I finally figured out how to fix this.  First I reviewed "Mac OS X: Why your Mac might not sleep of stay in sleep mode."  I noted the bullet:  "Do you have any other external USB or Firewire devices connected?"  I have an CP685AVR for a UPS for my Mac.  I replaced the battery a few months ago.  I also hooked up Apple's 'Energy Saver' power management software to the CP685AVR using the USB connection.  I disconnected it, and that solved the problem.  I still have the UPS and battery back-up; I just can't "monitor" the battery.  What's to monitor?  It always said the battery was 100% charged even right up to the time the previous battery failed.  Thanks for listening, uh... reading.

  • How to keep the connection alive?

    Hello! Happy new year!
    I have to write an HTTP server that comunicates with many clients in the same time,but keeps the connection with a client open if there the corresponding header is Keep-Alive. I have used threads,and I've tested my program in the following way: I've requested the one page of the site and then I've followed a link from that page. I expected that the broowser and the server talk to the same thread every time,but it seems that they don't. The code I've written is:
    //HTTPServer class
    ServerSocket serverSocket = null;
            boolean listening = true;
            try {
                serverSocket = new ServerSocket(80);
            } catch (IOException e) {
                System.err.println("Could not listen on port: 80.");
                System.exit(-1);
            while (listening)
                  new HTTPMultiServerThread(serverSocket.accept()).start();
    //HTTPMultiServerThread
    public void run() {
         //     System.out.println(socket.toString());
              try {
    while(!serverSocket.isClosed())){
                  DataOutputStream out = new DataOutputStream(socket.getOutputStream());
                  DataInputStream in = new DataInputStream( socket.getInputStream());
                  int nrBytes = in.available();
                  if(nrBytes > 0){
                       byte[] bytes = new byte[nrBytes];
                       in.read(bytes);
                       System.out.println("Procesez mesajul:" + nrBytes + new String(bytes));
                       HTTPMessage processedMess = new HTTPMessage(bytes).processMessage();
                       System.out.println("Inchid conexiunea.");
                        log("log.txt", new HTTPMessage(bytes).getStatusLine() + " " + new Data().getCurrentTime());
                   //send the message   
    out.write(processedMess.getBytes(),0,processedMess.getBytes().length);
                       /* inchid conexiunea
                  else{
                       String ret = new String("HTTP/1.1 500 Internal Server Error\n");
                        ret += "Host: cristi\n";
                      ret += "Date: " + new Data().getCurrentTime()+"\r\n";
                      ret += "\r\n";
                      ret += "<html><body><p>HTTP/1.1  500 Internal Serve Error</p> </body><html>\r\n";
                      out.write(ret.getBytes());
                  out.close();
                  in.close();
                       if(new HTTPMessage(bytes).getHeaderValue("Connection").equals("Close"))
                  socket.close();
         }//end while
              } catch (IOException e) {
                  e.printStackTrace();
        }I would also like to know how many clients are waiting to be served,in order to develop statistics about the server response time. 10X

    hi
    same to u .
    i think what i get from ur code that ....
    use some vector at the server side and whenever any client is connected (offcourse first time or not (depend on u !!)) create an object corresponding(generally created by server for every client) ..
    save this in the vector .. and pass it the size of vector to the client with the response .
    may this help u .
    regards
    akash
    Indiagames Ltd
    [email protected]
    India

  • Is there a fix for Mail keeping 4 connections open for one.......?!

    Is there a fix for Mail keeping 4 connections open for one email account setup as IMAP.......?!
    Im just wondering whether this is possible because it means our company website falls over when the processes go over 25! There are a lot of emails.....
    It is a massive pain and ideally we dont want to upgrade our hosting package if we can help it!
    There must be a way round it?! Someone brainy know any tricks?!

    Ernie Stamper wrote:
    Never have encountered this -- more info, please? What are 4 connections, exactly?
    Very simple: Mail opens one connection for each IMAP mailbox on the account. Typically, this means Inbox, Sent Mail, Drafts, and Trash, but also includes Apple Mail To Do and Junk and any mailboxes/folders the user has created.
    The problem is that Mail is keeping these connections open when it's done checking for new mail, even when *Use IDLE command if server supports it* is not enabled. With 4 email accounts on one server, this causes a "500 Internal Server Error" because there are too many processes running. As soon as I quit Mail, my web server resumes serving pages.
    Message was edited by: Don Morris

  • Need to keep Premiere Pro open while Encore transcoding?

    So I used the Dynamic Link function to export my project from Premiere Pro CS5 to Encore and started building a Blu Ray disc. Do I need to keep Premiere Pro open while Encore is transcoding?
    Task Manager says Premiere is still using 20-40% CPU so I am scared to close it . . .

    I agree that you can close premiere, but I'd close it before starting the transcode or build. (Call it superstition.) But if you close it (or even not), adobe with run pproheadless (the premiere end of a dynamic link).
    Are you using ame to transcode for Encore? (A setting as of CS5.) Curious.

  • Todays update! After todays update I can no longer send Safari or Spotify to the task bar without it cutting out (dropping audio in and out). Streams normally if I keep the window open on my desktop. This needs to be fixed immediately.

    Todays update! After todays update I can no longer send Safari or Spotify to the task bar without it cutting out (dropping audio in and out). Streams normally if I keep the window open on my desktop. This needs to be fixed immediately.

    Nevermind. I figured it out.

  • I like the feature of the PDF being opened on the new tab on firefox browser windows. But the newer version (3.6 or 4.0) will automatically open PDF in a pop up adobe apps. How do I keep the PDF open on the new tab as before? thank you

    I like the feature of the PDF being opened on the new tab on firefox browser's windows. But the newer version (3.6 or 4.0) will automatically open PDF in a pop up adobe apps. How do I keep the PDF open on the new tab as before like the 3.5 ver.? I want the PDF opened in the new tab rather than in the Adobe's app's pop up window. Could you help?
    thank you

    '''I fixed mine by removing the Ask.com extension.'''
    Tools
    Add-ons
    Settings icon
    View Recent Updates
    Ask.com '''DISABLE'''
    Running FF 8.0 on Windows 7 (64-bit)

  • How to keep the field open for input with error message in report program

    Hi,
      Need a help in solving the below issue.
    "How to keep the field open for input with error message in report program"
    Regards,
    C.Shasiraj.

    Hi...
    you have to use the event:
    <b>AT SELECTION-SCREEN ON <FIELD> EVENT.</b>
    u have to give an error message in this event.
    Consider the following <b>Example:</b>
    <b>PARAMETERS : NUMBER TYPE I.
    AT SELECTION-SCREEN ON NUMBER.
      IF NUMBER = 10.
        MESSAGE 'Number vakue is 10' TYPE 'E'.
      ENDIF.
    START-OF-SELECTION.
      WRITE NUMBER.
    </b>
    in this if u give the value of number = 10, it will not proceed further, if u give some other value other than 10 you will proceed further...
    Execute this program once u will understand....
    also Consider the following links :
    <b>Regarding events:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a237d9b511d1950e0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a23ad9b511d1950e0000e8353423/frameset.htm
    <b>Regarding messages:</b>
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm
    This is very useful.......
    Reward points if useful....
    Suresh....

  • Mac Pro running OS x Lion 10.7.5 sometimes locks the network password while in sleep mode.

    Mac Pro running OS x Lion 10.7.5 sometimes locks the network password while in sleep mode. We have tried resetting the password in AD and locally using keychain but the problem reoccurs. Any suggestions would be great.

    Also I unlocked the user account at 9:10am and by 11:10am it locked again. The user was away from his desk in a meeting.

  • Everything I own (iPad, iPhone, mac) is set up on wi-fi.  when i bring my work computer home (dell laptop), I cannot get it to keep the connection in a different room. All my other devices work.... does anybody know what i am doing wrong? please help!

    Everything I own (iPad, iPhone, mac) is set up on wi-fi.  when i bring my work computer home (dell laptop), I cannot get it to keep the connection in a different room. All my other devices work.... does anybody know what i am doing wrong? please help!

    Windows drivers for Intel wireless cards are known problematic.. If you have plenty of signal and it still cannot keep or hold the connection the issue can simply be the type of wireless.
    Another problem is using names that windows does not easily handle.
    eg If you set the TC using apple names, like
    Fred Blog's Airport Time Capsule wireless24ad12
    Then to windows this is too long.. it has spaces and it has illegal character.
    Change all names on the TC to suit windows. Short, no spaces and pure alphanumeric.
    Also security must be suitable.. I have no idea how old or what OS your dell is, but if you still have issues.. pull off the security on the TC for a test.. if the computer suddenly works, it is not compatible with WPA2 AES. Make sure you also use a password that is mix upper and lower case plus numbers.. avoid special characters and make it 10-20 characters long say.. it is not required to be more than that unless you are paranoid.

  • Keeping or not keeping the connection?

    Hi!
    I'm wondering what is better. If my program need to connect to Oracle lot of times, it's better to connect once at the begining and keep the connection to the end of program? Or maybe it's better to connect everytime when some data from database is needed?
    Thanks in advance,
    Jacek

    That all depends on what your application wants.
    If your application is online and require high performance , then keep the connections, however this will have impact on server side with unnecessary connections holding for long time.
    If your application is not performance oriented then you can afford to connect whenever required.

  • Is there a way to keep the backlight on while I am using my ipod nano 6? I was able to go into setting and do this for my old Ipod.

    Is there a way to keep the backlight on while I am using my ipod nano 6? I was able to go into setting and do this for my old Ipod.

    There is not.  It can only be on for a set amount of time.
    B-rock

  • Is there a way to use an external display while keeping the Macbook open?

    I'm trying to use my external display as my primary (and only display). I would be operating in clamshell mode, but this can lead to overheating issues. Is there an easy way to leave the Macbook open but turn its screen off manually when another display is connected?
    I've found that by closing the macbook, plugging in a mouse, waiting for the macbook to start in clamshell mode, and then opening the display, I can do this. Is there an easier way (i.e., an option to tell the macbook display to turn off)

    could you not just connect it with the vga adapter and then turn the brightness of your screen all the way down so there is no light? i had to do that for my ibook g4 when i cracked the lcd, but thankfully i have my macbook now.

  • Keep The Screen on While Listening To Music IOS8

    While driving and listening to music, I prefer to have the iPhone's screen on ... just makes it easier to change songs without having to hit the home button to bring the player controls back up.  Is there a way to do this in ios8?

    Hi shafeen, 
    Welcome to the Apple Support Communities!
    You can turn off the Auto-Lock in Settings to keep you iPhone from going to sleep. Keep in mind that your battery life will decrease if your iPhone does not go to sleep. 
    iPhone: About General Settings
    Auto-Lock
    Locking iPhone turns off the display. Nothing happens if you touch the screen. You can still receive calls and text messages, an you can adjust the volume and use the mic button on the iPhone Stereo headset when listening to music or on a call.
    Set the amount of time before iPhone locks
    Choose General > Auto-Lock and choose a time.
    Have a great day, 
    Joe

Maybe you are looking for