Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 4 - NetSprocket / NetSprocket Reference
Data Structures


Error Message Structure

The error message structure is a standard NetSprocket message you receive when extreme error conditions occur in NetSprocket. This can occur when functions fail or when network failures among players are detected by NetSprocket in the course of the game. The error message structure is defined by the NSpErrorMessage data type.

typedef struct NSpErrorMessage {
   NSpMessageHeader           header;
   OSStatus                   error;
} NSpErrorMessage;
Field descriptions

header
A valid game object.
error
A constant of OSStatus type describing the error encountered.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996