Поделиться через


Super Services (Windows Embedded CE 6.0)

1/6/2010

A super service is an enhanced standard service designed to allow all ports to be monitored by Services.exe. The super service is notified when it is required to handle any network traffic. Use of a super server can be advantageous because only one thread is required to process all incoming accepts. Otherwise, each service must create its own thread, and this results in additional system overhead. For example, you can use the super server to run an OBEX service and a Web server at the same time and they will use only one thread. The super server will be able to handle any incoming accepts for both services.

When a request for a connection arrives for a particular socket, Services.exe dispatches the request to the registered service. The ports that the super server listens on can be configured at the initialization of Services.exe, or they can be added and removed dynamically. A service must be registered before it can be managed by the super server.

See Also

Concepts

Services.exe Application Development
Registering a Super Service Automatically
Services.exe Request Handling

Other Resources

Services.exe