CocoaDev

Edit AllPages

Apple’s protocol. I don’t know much about AppleTalk…I didn’t learn networks till I was using OS X and IP heavily. Can anybody fill this in a wee bit more? – RobRix

AppleTalk was originally the local area network architecture developed for the Macintosh by Gursharan Sidhu and his buds. It was a complete network architecture including cabling standards, a protocol suite, and applications.

The AppleTalk protocol suite follows the OSI/ISO 7 layer model. At the bottom are electrical, link access, and media access protocols. Above these, the stack consists of the Appletalk Datagram Delivery Protocol (DDP), the Appletalk Transaction Protocol (ATP), the AppleTalk Session Protocol (ASP), the AppleTalk Address Resolution Protocol (AARP), AppleTalk Name Binding Protocol (NBP), the AppleTalk DataStream Protocol (ADSP), the Zone Information Protocol, and a routing protocol. Services including file and printer sharing use the AppleTalk Filing Protocol (AFP) and the Printer Access Protocol (PAP).

The original cabling standard and MAC came to be known as LocalTalk when EtherNet (dubbed EtherTalk) and TokenRing (TokenTalk) implementations became available.

AppleTalk’s greatest strength was simplicity of configuration and use. Its major problems were a restrictive packet size, chattiness (real or perceived), and a difficult (Device Manager-based) API. AppleTalk’s ease of use is due to elegant design: simple cabling, dynamic configuration, dynamic name resolution.

AppleTalk’s kiler apps were file sharing and printer sharing (productized as AppleShare, AppleShare Pro, and Personal File Sharing). Later developments included a “groupware” environment (AOCE) and a standards-based implementation (OpenTransport) of the stack. Open Appletalk—Apple’s first open source product!–was a source and binary implementation of AppleTalk for UNIX and VMS.

Sidhu’s book “Inside Appletalk” is the definitive protocol reference through v56. In addition, it is a great pre-Internet-Era introduction to networking in general. The original AppleTalk driver interface is described in “Inside Macintosh IV/V/VI”. “Inside Macintosh: Networking” describes the updated .-style driver API. “Inside Macintosh: Networking with OpenTransport” describes the OT architecture and (its multitude of) APIs. AOCE has its own IM volume.

Apple has moved away from AppleTalk and embraced TCP/IP—even AFP prefers IP to DDP, anymore. But the ideas live on, in particular in the ZeroConf/Rendevous network configuration and service discovery system which directly leverages the ideas pioneered by AARP and NBP.