Hi,
I have some code in C, that connects to certain server using sockets. I want my code to be aware of Windows procedure for going to sleep. So that, it can detect when the PC is going to sleep and trigger an event. My event at the end is letting the server it's connected to know that the PC is going to sleep. I put this question here given that I have a code in C and want to implement that in the program. I'm open to suggestions...
Thanx, Miguel
Start Free Trial