Legacy Documentclose button

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:

Version: 1.0

Posted: 2003-07-22

Build Requirements: N/A

Runtime Requirements: Carbon SSW 7.6 with OT 1.1.2 or greater. For multiple handoff endpoint support, OT 2.0 with SSW 8.5 is required. To open the project files, Metrowerks CodeWarrior Pro 2.0, IDE v2.1 is required.

View Source Code:

Download Sample (“OT_PAPServerSample.zip”, 93.6K)
Download Sample (“OT_PAPServerSample.dmg”, 157.6K)



Description

The PAPServerSample demonstrates the use of the Open Transport to create a Printer Access Protocol Server. This sample supports multiple simultaneous connections under OT 2.0 and greater. PAPServerSample demonstrates some of the following network programming techniques 1. Implementing a PAP Server which supports multiple handoff endpoints. 2. Using the OTIoctl to enable selfsend mode. 3. Using OptionManagement to enable the EOM (End-of-message option). 4. Using OptionManagement to set the default server message. The sample provides a user option to make the OTServerLimits call and to also dump the packets that are received. Note that by default, the incoming packets are saved to a file called "SavedPAPFileXX". You can launch the server on the same system that you use the client to send data to the client. Requirements: SSW 7.6 with OT 1.1.2 or greater. For multiple handoff endpoint support, OT 2.0 with SSW 8.5 is required. To open the project files, Metrowerks CodeWarrior Pro 2.0, IDE v2.1 is required. Keywords: Open Transport, PAP, AppleTalk, Printer Access Protocol, handoff endpoints, AppleTalk Transaction Protocol, ATP, OT PAPServerSample

Document Revision History

Date Notes
2003-07-22First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.