Connecting to remote devices

There are several steps for an application to undertake when connecting to a remote device in order to use a service on that device. The first is to determine the device with which the user wants to communicate. Then the application needs to find out whether the service that it wants is available. Finally, the application will need to connect, and perhaps enforce some security on the link if necessary.

The following topics walk through this sequence: