ADC Home > Reference Library > Technical Notes > Legacy Documents > Networking >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
AppleTalk and VBL task using self-send modeDate Written: 5/18/92 Last reviewed: 6/14/93 To make all AppleTalk calls asynchronously, I have to split the VBL task in pieces:
This means that while the selfsend is set to true, other software will be
confused when they do a lookup. Also, when the Macintosh is doing I/O on the
network, the VBL will set and restore the selfsend flag. Will other AppleTalk
calls fail if the SelfSend flag Is set to true, or does selfsend only work on
Your method of splitting up the steps of a lookup to yourself during a VBL task using self-send mode is correct, except you needn't bother restoring the state of self-send since you are giving up time to other processes between calls to your VBL task. Self-send mode is a global setting and may affect any AppleTalk calls. When the LAP manager is preparing to send a packet, it checks the destination node. If the destination node is its own node address or the broadcast address, then it sends the packet to itself before putting the packet out on the wire. This usually only affects NBP lookup packets because they are sent to the broadcast address. Most other AppleTalk protocols do not broadcast. Programs using self-send should follow these guidelines:
How to tell if LAP Manager is presentDate Written: 12/12/91 Last reviewed: 2/3/92 What's the recommended technique for telling whether the user has turned off AppleTalk? The best way to determine whether AppleTalk has been turned off is to use the AppleTalk Transition Queue to alert you to .MPP closures. (This is one of the reasons why the AppleTalk Transition Queue was implemented.) The AppleTalk Transition Queue is available only in AppleTalk version 53 or later, and is documented in the AppleTalk chapter of Inside Macintosh Volume VI, starting on page 32-17. There's also a code snippet, Transition Queue, in the Snippets folder on the Developer CD Series disc. AppleTalk AOpen and AClose codes 7 & 8Date Written: 11/1/91 Last reviewed: 11/27/91 What are AppleTalk messages 7 and 8? They're documented in lapequ.a as:
but what should the adev do with them and what parameters are passed?
The An important note on this matter is that if you modify your adev to version 3, additional selectors must be supported. These new selectors will be documented in a forthcoming Technote. Downloadables
|
|