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 / Constants and Data Types


Endpoint Service Types

Open Transport uses the servtype field of the TEndpointInfo structure to indicate the kind of service the endpoint provides. The constant names that Open Transport can return for this field are given by the endpoint service enumeration:

enum {
      T_COTS         = 1,
      T_COTS_ORD     = 2,
      T_CLTS         = 3,
      T_TRANS        = 5,
      T_TRANS_ORD    = 6,
      T_TRANS_CLTS   = 7   
};
Constant descriptions

T_COTS
Connection-oriented transactionless service without orderly release.
T_COTS_ORD
Connection-oriented transactionless service with optional orderly release.
T_CLTS
Connectionless transactionless service.
T_TRANS
Connection-oriented transaction-based service without orderly release.
T_TRANS_ORD
Connection-oriented transaction-based service with optional orderly release.
T_TRANS_CLTS
Connectionless transaction-based service.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998