.ENET Driver Routines
.ENET Driver Routines Special-case routines
An application that uses the AppleTalk Manager routines for network
communication can talk to whatever AppleTalk network the user has selected
through the Network Setup control panel. However, you can choose to write an
application that talks only to Ethernet; in this case, your application has to
address the Ethernet driver directly. This section describes the functions that
you can use to control The .ENET Driver, the Ethernet driver provided with
system software version 7.0. Each .ENET driver function is of the following
form:
OSErr EFunc( thePBptr, async);
EParamBlkPtr thePBptr; address of an .ENET EParamBlock structure
Boolean async; 0=await completion; 1=immediate return
returns Error Code; 0=no error
thePBptr is a pointer to an ENET EParamBlock structure
async is a Boolean value. Use FALSE for normal ( synchronous) operation
or TRUE to function asynchronously See Async I/O.
Returns: an operating system Error Code.