Chapter 3 - Endpoints
This chapter explains how your application can use endpoints to communicate with endpoint providers, the layered set of protocol modules that provide data transfer services. The chapter describes
To understand this chapter, you must first read the chapters "Introduction to Open Transport" and "Providers," which introduce many of the concepts discussed and further elaborated in this chapter.
- the services offered by different types of endpoint providers
- the concept of transport independence and the use of options
- how an endpoint's mode of execution and mode of operation affect the behavior of endpoint functions
- how you use endpoint functions to obtain information about endpoints, to establish connections, and to transfer data
This chapter offers minimal information about options, values you can specify that link the behavior of your application to the specific configuration of an endpoint provider. For information about options, you must read the chapter "Option Management" in this book.
Chapter Contents
- About Endpoints
- Endpoint Types and Mode of Service
- Naming Conventions for Endpoint Functions
- Endpoint Options
- Modes of Operation
- Blocking
- Acknowledging Sends
- Endpoint States
- Transport Service Data Units
- Using Endpoints
- Opening and Binding Endpoints
- Obtaining Information About Endpoints
- Handling Events for Endpoints
- Establishing and Terminating Connections
- Establishing a Connection
- Terminating a Connection
- Sending and Receiving Data
- Sending Noncontiguous Data
- Sending Data Using Multiple Sends
- Receiving Data
- Transferring Data Efficiently
- Transferring Data Between Transactionless Endpoints
- Using Connectionless Transactionless Service
- Using Connection-Oriented Transactionless Service
- Transferring Data Between Transaction-Based Endpoints
- Using Connectionless Transaction-Based Service
- Using Connection-Oriented Transaction-Based Service
- Endpoints Reference
- Constants and Data Types
- OTData Constant
- OTBuffer Constant
- Buffer Types Enumeration
- Endpoint Service Types
- Open Transport Flags
- Endpoint Flags
- Endpoint States
- Structure Types
- The TEndpointInfo Structure
- The TBind Structure
- The OTData Structure
- The No-Copy Receive Buffer Structure
- Buffer Information Structure
- The TUnitData Structure
- The TUDErr Structure
- The TUnitRequest Structure
- The TUnitReply Structure
- The TCall Structure
- The TRequest Structure
- The TReply Structure
- The TDiscon Structure
- Functions
- Creating Endpoints
- Binding and Unbinding Endpoints
- Obtaining Information About an Endpoint
- Allocating Structures
- Checking a Buffer's Size
- Doing No-Copy Receives
- Functions for Connectionless Transactionless Endpoints
- Functions for Connectionless Transaction-Based Endpoints
- Establishing A Connection
- Functions for Connection-Oriented Transactionless Endpoints
- Functions for Connection-Oriented Transaction-Based Endpoints
- Tearing Down a Connection
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help