Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!claris!outpost.UUCP!peirce From: peirce@outpost.UUCP (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: Listening for a session with ASP/Appletalk Message-ID: <0B010004.ozs11b@outpost.UUCP> Date: 21 Mar 91 05:15:46 GMT Reply-To: peirce@outpost.UUCP Organization: Peirce Software Lines: 26 X-Mailer: uAccess - Mac Release: 1.0.3 In article <2902@sparko.gwu.edu>, rjohnson@seas.gwu.edu (Ray Johnson) writes: > > How do you configure a socket to listen for a session? IM5 gives commands > and information for opening sessions, however, it doesn't say much about > how to listen for the OpenSession comand. > > What I need to know how to first listen for the OpenSession command and then > how to recieve subsequent comands from that session. > > Thanks for your help. (But why is this information not in InsideMac?) Apple never really documented AppleTalk Session Protocol (ASP) very well - especially if you want to act as a server. They don't provide access to the server side of the protocol, some products use it, but do a lot of the work themselves (FileMaker for example). Have a look at AppleTalk Data Stream Protocol (ADSP). Most things that seem like a good fit for ASP can be done as well or better using ADSP - and it's well documented. -- michael -- Michael Peirce -- outpost!peirce@claris.com -- Peirce Software -- Suite 301, 719 Hibiscus Place -- Macintosh Programming -- San Jose, California 95117 -- & Consulting -- (408) 244-6554, AppleLink: PEIRCE