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


The TRegisterReply Structure

You use the TRegisterReply structure to store information returned by the OTRegisterName function.

The TRegisterReply structure is defined by the TRegisterReply data type.

struct TRegisterReply
{  
   TNetbuf  addr;
   OTNameID nameid;
};
typedef struct TRegisterReply TRegisterReply;
Field descriptions

addr
A TNetbuf structure that specifies the location and size of a buffer containing the actual address of the entity whose name you have just registered. This information is passed back to you when the OTRegisterName function returns. You must allocate a buffer, set the addr.buf field to point to it, and set the addr.maxlen field to the size of the buffer.
nameid
A unique identifier passed to you when the OTRegisterName function returns. You can use this identifier when you call the OTDeleteNameByID function to delete the name.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998