Share via


Disconnecting from an OBEX Server

A Disconnect command terminates an OBEX session. Disconnect can include a description header for user readable information. The Disconnect request and response must fit into an OBEX packet, and have their final bits set.

The following illustration shows the logic associated with a Disconnect command.

The following optional headers can be used in a Connect request:

  • Description is used to specify a user-friendly description that can be displayed to the user.

The following header is always used:

  • Connection Id identifies the connection to disconnect.

The Disconnect command is optional and may not be used by many clients.

The following optional headers can be used in a Connect response:

  • Description is used to specify a user-friendly description that can be displayed to the user.

The following header is always used:

  • Connection Id identifies the connection to disconnect.

You can terminate the connection by closing the transport connection, but this method does not offer a description.

See Also

Client Support

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.