Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 22 - Endpoints Reference / Functions


Functions for Connection-Oriented Transactionless Endpoints

To use connection-oriented transactionless endpoints, you must first establish a connection, as described in the previous section, and then use the OTSnd and OTRcv functions described in this section to transfer data.

The OTSnd and OTRcv functions do not use a special data structure to describe the data being transferred. Rather, the buf parameter is used to point to the buffer holding the data and the nbytes parameter is used to specify the size of the data being sent. Because the endpoints are already connected, it is not necessary to specify a destination address. Similarly, options are defined when the connection is established; therefore, it is not necessary to specify options when sending data.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998