Important: The information in this document is obsolete and should not be used for new development.
The Write-Data Structure
To send data directly from the Ethernet, token ring, or FDDI driver, you must provide a write-data structure and pass theEWrite
function a pointer to it. 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 that constitutes the packet to be sent over the network. The interface files for the driver do not include a type declaration for the write-data structure. Here is an example type declaration that you can include in your application.
TYPE WDSElement = RECORD entryLength: Integer; entryPtr: Ptr; END;For more information about the write-data structure, see "Using a Write-Data Structure to Transmit Ethernet Data" beginning on page 11-10.
Field Description
entryLength
- The length of the data pointer to by
entryPtr
.entryPtr
- A pointer to the data that is part of the packet to be sent using the
EWrite
function.