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

This chapter describes the constants, data types, and functions that you use with endpoints. You can also use general provider data types and functions with endpoints. General structures and functions are described in "Providers Reference".

Note
Some endpoint data types and functions correspond exactly to those in the X/Open Transport Interface (XTI), from which Open Transport derives its application programming interface. Appendix A lists these data types and functions. You can refer to these data types and functions by their Open Transport names or their corresponding XTI names. For example, you can refer to the Open Transport function OTBind by the XTI name t_bind. This chapter refers to endpoint data types and functions by their Open Transport names.

Chapter Contents
Constants and Data Types
Error-Checking Constant
Endpoint Service Types
Open Transport Flags
Open Flags
Endpoint Flags
Endpoint States
Structure Types
The TEndpointInfo Structure
The TBind 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
Determining if Bytes Are Available
Functions for Connectionless Transactionless Endpoints
Functions for Connectionless Transaction-Based Endpoints
Establishing 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 JAN 1998