home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18754 < prev    next >
Encoding:
Text File  |  1992-11-21  |  2.1 KB  |  50 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!agate!apple!mumbo.apple.com!gallant.apple.com!kip-5.apple.com!user
  3. From: shoemake@apple.com (Mike Shoemaker)
  4. Subject: Re: AppleTalk packets OR ATP and DDP, oh how they echo
  5. Sender: news@gallant.apple.com
  6. Message-ID: <shoemake-211192134802@kip-5.apple.com>
  7. Date: Sat, 21 Nov 1992 21:52:37 GMT
  8. References: <jsuker.721590370@orion.oac.uci.edu> <1992Nov18.004651.6480@bilby.cs.uwa.edu.au>
  9. Organization: Apple Computer, Inc.
  10. Followup-To: comp.sys.mac.programmer
  11. Lines: 37
  12.  
  13. In article <1992Nov18.004651.6480@bilby.cs.uwa.edu.au>, Quinn
  14. <quinn@cs.uwa.edu.au> wrote:
  15. > Johnathon Suker, jsuker@orion.oac.uci.edu (incorrectly) writes:
  16. > >    I have come screaming to a halt in front of a brick wall known as
  17. > >AppleTalk ATP and DDP packets.  I have this program I am trying to write
  18. > >(dont we all) which will utilize the ECHO PROTOCAL.  Unfotunately,
  19. > everything
  20. > >I have read (Inside Mac, Inside AppleTalk, Programming with AppleTalk)
  21. > merely
  22. > >state that EP is implemented throught DDP.
  23. > >And DDP is not directly accessible to the programmer.
  24. >      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  25. > Damn!  I'll just go and tell my co-programmer that the DDP network
  26. > program we spent the last few month writing is impossible (-;
  27. > But seriously check out Inside Mac II-308..312 (OpenSkt, CloseSkt
  28. > and WriteDDP), II-329..330 (writing a socket listener (yuk!)) and
  29. > V-510..515 (the 'Preferred' AppleTalk interface).  Oh, and be
  30. > prepared for some assembly (yum!).
  31. > Quinn "The Eskimo!"      <quinn@cs.uwa.edu.au>     "Support HAVOC!"
  32.  
  33. When reading Inside Mac, you'll be tempted to use the "DDPRead" to
  34. read the response to your Echo packet. Don't. You'll never get
  35. any incoming packets. DDPRead was written before MultiFinder came
  36. along.
  37.  
  38. You have to write a socket listener (in assembly). See the latest
  39. Macintosh Technical Notes from Developer Technical Support -- I'm
  40. pretty sure I saw a complete socket listener sample source code you
  41. can steal.
  42.  
  43. ---
  44. Mike Shoemaker
  45. Apple Computer, Inc.
  46. shoemake@apple.com
  47.