January 2008
Beginner
352 pages
9h 6m
English
A service would have little benefit if you had no way to schedule or control the timing of the tasks it needed to perform. In the previous chapter, Chapter 11, the service waited on incoming connections, so scheduling was not a problem. In many cases, services will perform one or more tasks not based on a request but instead based on a polling action—the service waits for something to occur and then reacts. Examples include waiting for a data file or an NT event, reading a Web page, or any other situation that allows the service to poll before firing whatever task it is ...
Read now
Unlock full access