BuildLAPwds
void BuildLAPwds(wdsPtr, dataPtr, destHost, protoType, frameLen); Ptr wdsPtr; pointer to write data structure Ptr dataPtr; pointer to buffer short destHost; destination node
short protoType; protocol type
short frameLen; length of buffer
returns none
BuildLAPwds builds a single-frame write data structure LAP WDS for use with the LAPWrite call. Given a buffer of length frameLen pointed to by dataPtr, it fills in the WDS pointed to by wdsPtr and sets the destination node
and protocol type as indicated by destHost and protoType, respectively.
wdsPtr is the write data structure's address.
dataPtr is a pointer to the data buffer.
destHost is the destination node.
protoType specifies the protocol type.
frameLen is the size of the data in bytes.
Notes: The WDS indicated must contain at least two elements.