Can I have the networking stack reset an activity timer when data is actually being transferred to a remote system, rather than when a socket is connected?
Some OEMs may be more interested in having the Power Manager know applications are actively using sockets than they are in having it know when sockets are connected. The networking stack does not provide direct support for this. However, OEMs can create a thread that periodically polls the GetTcpStatistics() and GetUdpStatistics() to determine if TCP segments or UDP datagrams are being transmitted or received. If they are, this thread could reset an activity timer. This thread could be implemented as an installable device driver, as part of the Power Manager, or as part of an application.
Related Questions
- Can I have the networking stack reset an activity timer when data is actually being transferred to a remote system, rather than when a socket is connected?
- What all settings to be taken care in the remote system to have WMI data collection to work correctly?
- When the system calls Wellcore to transfer activity data, is it a toll call?