none
NoIdleIfConnected setting does not work for TCP/IPv6 connections on a WinCE6 device. RRS feed

  • Question

  • There is an application we are running we don't the source code for, but is suspected of keeping a socket connection open. When we only have the TCP/IPv4 stack loaded our system it can suspend based on the idle timeouts (SystemIdle goes to Suspend), but when we have TCP/IPv6 stack loaded, our device does not get out of SystemIdle due to a SystemActivityEvent coming from the network stack.

    Is there an equivalent to NoIdleIfConnected for TCP/IPv6 that can be used to force the socket connections to go idle even if they are are connected?

    Thanks.

    Monday, October 29, 2012 3:51 PM

Answers

  •  These registry settings tells the networking protocol stack to periodically
    ; signal the Power Manager when any sockets are in the connected state.  They
    ; also tell the stack NOT to automatically reset the GWES idle timer (this
    ; enables the screen saver).
    [HKEY_LOCAL_MACHINE\Comm\CXPort]
    ; @CESYSGEN IF PM_PM_DEFAULT_PDD
        "NoIdleTimerEvent"="PowerManager/ActivityTimer/SystemActivity"
    ; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
        "NoIdleTimerReset"=dword:1
     
    May be deteting these registry may allow device to enter in to suspend state. To delete the registry, you can add the following entry in platform.reg
    [HKEY_LOCAL_MACHINE\Comm\CXPort]
     "NoIdleTimerEvent"=-
     
    Vinoth.R
    "CW_2012" wrote in message news:e1caf0a2-e443-4ca9-ab5c-d15ada7925b0...

    There is an application we are running we don't the source code for, but is suspected of keeping a socket connection open. When we only have the TCP/IPv4 stack loaded our system it can suspend based on the idle timeouts (SystemIdle goes to Suspend), but when we have TCP/IPv6 stack loaded, our device does not get out of SystemIdle due to a SystemActivityEvent coming from the network stack.

    Is there an equivalent to NoIdleIfConnected for TCP/IPv6 that can be used to force the socket connections to go idle even if they are are connected?

    Thanks.


    Vinoth.R

    www.e-consystems.com

    http://vinoth-vinothblog.blogspot.com

    • Marked as answer by CW_2012 Tuesday, October 30, 2012 7:15 PM
    Tuesday, October 30, 2012 9:30 AM