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: Interapplication Communication /
Chapter 11 - Program-to-Program Communications Toolbox / PPC Toolbox Reference
Data Structures


The Port Information Record

A port information record identifies whether a particular port requires authentication and specifies the port's port name. Both the PPCBrowser and IPCListPorts functions return information about ports using port information records. In addition, if you provide a port filter function, the PPC Toolbox provides information to your function about the current port in a port information record. The PortInfoRec data type defines a port information record.

TYPE PortInfoRec =
   RECORD
      filler1:       SignedByte;       {space holder}
      authRequired:  Boolean;          {authentication required}
      name:          PPCPortRec;       {port name}
   END;
Field Description
filler1
Reserved.
authRequired
Specifies whether the port requires authentication. This field is TRUE if the port requires authentication before a session can begin. Otherwise, this field is FALSE.
name
Specifies an available port name.
For information on the PPCBrowser and IPCListPorts functions, see page 11-53 and page 11-55, respectively. For information on port filter functions, see page 11-79.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996