Important: The information in this document is obsolete and should not be used for new development.
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 theOTSnd
andOTRcv
functions described in this section to transfer data.The
OTSnd
andOTRcv
functions do not use a special data structure to describe the data being transferred. Rather, thebuf
parameter is used to point to the buffer holding the data and thenbytes
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.