Normal
you would need to create a little application that listens for the WM_POWERBROADCAST events and if one is received from the system to prevent this occuring;WM_POWERBROADCAST Message (Windows)I would suggest a simple app that listens for a connection on a certain port and if present then acts as above. This would indicate a client is connected and that the machine should not sleep. If no machine is connected it can sleep as normal.Still, I would say this is all overkill. As recommended just change your power settings to prevent hibernation.
you would need to create a little application that listens for the WM_POWERBROADCAST events and if one is received from the system to prevent this occuring;
WM_POWERBROADCAST Message (Windows)
I would suggest a simple app that listens for a connection on a certain port and if present then acts as above. This would indicate a client is connected and that the machine should not sleep. If no machine is connected it can sleep as normal.
Still, I would say this is all overkill. As recommended just change your power settings to prevent hibernation.