ESetGeneral
mode.
EParamBlkPtr thePBptr; address of an EParamBlock structure Boolean async; 0=await completion; 1=immediate return mode to general-transmission mode.
thePBptr is a pointer to an EParamBlock structure. The relevant fields are as follows:
¨ ioResult short 2 16 Result code
Æ csCode short 2 26 Always ENetSetGeneral
async is a Boolean value. Use FALSE for normal ( synchronous) operation or TRUE to function asynchronously. See Async I/O. noErr (0) No error
memFullErr (-108) Insufficient memory in heap
limited-transmission mode to general-transmission mode. In
buffer of 768 bytes. This buffer size is more than sufficient to hold an
EtherTalk data packet, which can be no larger than 621 bytes. In
data packet of up to 1514 bytes.
The ioResult parameter returns the result of the function. If you call the
function asynchronously, the function sets this field to 1 as soon as it
begins execution, and it changes the field to the actual result code when it
completes execution. The csCode parameter is the routine selector,
automatically set by the high-level language interface. It is always
ENetSetGeneral for this function.
general-transmission mode to limited-transmission mode. To switch back
to limited-transmission mode, you have to reset the driver by re starting
the computer.