Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /


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.

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

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help