C H A P T E R 2 4
Built-in Communications Tools
The following example shows how to instruct a communications tool to allow its
resources to be claimed by another tool. For instance, you might send this option
if you are listening for an incoming connection.
The default for all tools is to be in an active state.
true, // passively claim modem
The Newton system software provides a number of global functions for obtaining
the addresses of other devices on the network.
If you are using an endpoint with the AppleTalk tool, the AppleTalk drivers are
opened automatically when you call the endpoint
method. The drivers are
closed when you call the endpoint
To manually open the AppleTalk drivers, you need to call the
function. When you are done with AppleTalk, call the
to close the drivers.
Note that you call the AppleTalk zone access functions without first calling
. Each of the AppleTalk zone access functions opens the drivers
(if necessary), performs its operations, and closes the drivers (if necessary). If you
are making multiple AppleTalk calls, it is more efficient for you to manually open
the drivers, make your calls, and then close the drivers.
Table 24-8 summarizes the AppleTalk functions. These functions are described in
detail in "AppleTalk Functions" (page 21-76) in Newton Programmer's Reference.