How about just checking current time vs last time?

On Apr 17, 2007, at 12:24 PM, Jim Dossey wrote:

> I have an app for Windows that opens a socket to a server and receives
> various updates from the server.  To run it, I simply put a  
> shortcut to the
> app in the Startup folder in the Start menu.  But I found out that  
> some
> users don't shutdown their PC's.  Instead they use Hibernate.  The  
> problem
> is that the socket gets closed on the server end, so that when the  
> machine
> is started up again, the app is still running, but the socket is no  
> longer
> working.  Is there some way to tell either when a machine is going  
> into or
> out of hibernate mode?

-- 
Glenn L. Austin <><
Computer Wizard and Race Car Driver
<[EMAIL PROTECTED]>
<http://www.austin-home.com/glenn/>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to