Partager via


Use of Streams

OBEX methods pass and accept standard OBEX headers. Body and EndOfBody headers are used to wrap the data of an object. The body sections of an object are abstracted with the COM-defined IStream interface, which is a blocking, file-like API. If raw data is to be sent, the Read and Write methods of IStream are used. In either case, the OBEX layer wraps the data in Body and EndOfBody headers as appropriate.

See Also

Device Discovery | Object Exchange Interfaces | Connection Points | Use of Streams | Object Exchange Protocol | IStream | Client Support

© 1992-2003 Microsoft Corporation. All rights reserved.