Connection Manager Application

The ConnMgr.exe application contains most of the functionality of Connection Manager. ConnMgr.exe is responsible for maintaining a list of all the connection requests, their priorities, and the connection service providers that are available on a CellCore-enabled device.

ConnMgr.exe is capable of determining the end-to-end paths from the device to the target network. For example, if Connection Planner needs to determine the best connection to Network A, ConnMgr.exe retrieves all the possible connections from the connection service providers, and finds all the paths from the device to Network A. Connection Planner can then query the cost, bandwidth and latency of each path to determine which one provides the most optimal connection based upon whatever heuristic it chooses.

ConnMgr.exe is also responsible for managing scheduled connections. An application may need to make a short connection at an interval of every few minutes, and ConnMgr.exe schedules these connections. If there are several applications that need to use the same connection on an interval basis, ConnMgr.exe can notify each application when another application has already established that connection. By enabling multiple applications to use the same connection on an interval basis instead of establishing a separate connection, Connection Managerreduces the amount of redundant connections.

For example, if five applications request a connection to the same network at an interval of every half hour, this could result in up to 10 connections to the same location every hour. ConnMgr.exe tries to schedule the connections so that only two actual connections are needed per hour.

When a network connection enters an idle state for a specified period of time, ConnMgr.exe automatically disconnects the connection. This mechanism frees applications, such as Pocket Internet Explorer, from having to handle low-level connection issues. When an application requests a scheduled connection to a certain destination network with a specified time period interval, ConnMgr.exe wakes up the application whenever a connection to the specified destination network is available or at the end of each time period interval. In the former case, the application can make use of the available connection. In the latter case, ConnMgr.exe does not establish a connection but just wakes up the application. It is up to the application to request connection establishment to the network destination.

See Also

Connection Manager Architecture

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.