Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TCP/IP Best Practices

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This section provides general best practices for TCP/IP. For security-specific best practices, see TCP/IP Security.

When a device resumes from a suspended state, the network adapters are unloaded and then reloaded. The multicast membership is preserved for PCI adapters. However, for PCMCIA adapters, you must set ResetOnResume in the registry to preserve the multicast membership. For more information about this registry setting, see TCP/IPv4 and TCP/IPv6 Common Registry Settings.

By default, the following conditions prevent a Windows Mobile device from automatic suspension due to inactivity:

  • Connected TCP sockets, including loopback
  • Connected IR sockets
  • Active network adapters
  • An established PPP connection

You can use the NoIdleIfAdapter and NoIdleIfConnected registry values to configure a device to suspend automatically after a certain period of inactivity. For more information, see TCP/IPv4 Configurable Registry Settings.

You can also use the following registry values to configure a device to suspend automatically after an inactive period:

  • HKEY_LOCAL_MACHINE_Comm\Parms\AllowSuspend
    Default setting is 0 (False). Setting this value to 1 (True) allows the device to auto-suspend while a PPP section is active.
  • HKEY_LOCAL_MACHINE\Comm\IrDA\AutoSuspend
    Default setting is 0 (False). Setting this value to 1 allows the device to idle-suspend when active IR sockets are open.
    Aa924147.note(en-us,MSDN.10).gifNote:
    The registry settings that affect device suspension are global and are read when the device is initialized. If you change these settings, you must reset the device before the new settings take effect.

For more information, see:

Power Management

TCP/IPv4 Configurable Registry Settings

Other Resources

TCP/IP

Community Additions

Show:
© 2014 Microsoft