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 /
Chapter 12 - Multinode Architecture / Multinode Architecture Reference
Data Structures


The Write-Data Structure

A write-data structure contains a series of pairs of length words and pointers. Each pair indicates the length and location of a portion of the data, including the header informa-
tion, that constitutes the packet to be sent over the network.

You create a write-data structure, then pass its pointer to the NetWrite routine to send a packet from a multinode.

TYPE  WDSElement = 
RECORD
   entryLength:   Integer;
   entryPtr:      Ptr;
END;
Field Description
entryLength
The length of the data pointed to by entryPtr.
entryPtr
A pointer to the data that is part of the packet to be sent using the NetWrite routine. The data storage area pointed to can contain the header information, the data to be transmitted, or both.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996