home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20361 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  2.3 KB

  1. Path: sparky!uunet!uchdcc!camino.mic.cl!thomas
  2. From: thomas@camino.mic.cl (Thomas Fruin)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: DECnet packets via ARA getting truncated!?
  5. Organization: El Camino
  6. Message-ID: <0105013E.m9gd41@camino.mic.cl>
  7. Reply-To: Thomas Fruin <thomas@camino.mic.cl>
  8. Distribution: world
  9. X-Mailer: uAccess - Macintosh Release: 1.5v4
  10. Lines: 46
  11. Date: Mon, 28 Dec 1992 15:25:29 CST
  12.  
  13. During my current programming proyect, I've run into a peculiar (and
  14. unpleasant) bug, and I need some help from some real communications gurus.
  15.  
  16. In my application, I'm using the Communications Toolbox and the Pathworks
  17. DECnet tool to communicate with a VAX. Works fine, no problem whatsoever.
  18. [ Digressing, I would like to say the CTB has worked flawlessly, I don't
  19. agree with some of the harsh comments that have been made here - unless my
  20. bug turns out to be a CTB bug of course :) ]
  21.  
  22. That is, all works fine when my program runs on a machine (Quadra 950)
  23. connected via Ethernet. This means DECnet is configured to use the
  24. Ethernet hardware directly.
  25.  
  26. However, most of my programming I do at home, and I dial into the
  27. client's network with AppleTalk Remote Access, and get to the host
  28. through a Fastpath on the clients net. This means that DECnet on my
  29. home machine (Quadra 700) is configured to use AppleTalk.
  30.  
  31. My application receives DECnet packets which are always approximately
  32. 1024 bytes in size. My protocol specifies that if there is no more
  33. data in a packet, it should be padded with spaces until the end.
  34.  
  35. Now here's the weird problem: ONLY when I connect remotely, DECnet
  36. packets get filled with spaces near the end, overwriting part of the
  37. information in the packet. The size of the packet is perfect, except
  38. that the information in it gets overwritten. This problem does not
  39. occur if I connect locally using Ethernet.
  40.  
  41. Giving a rough estimate, I think spaces get written starting at about
  42. 2/3 of the packet. That should be after about 600 to 700 bytes.
  43.  
  44. Soooo... what is happening? Could it be that when DECnet is used via
  45. AppleTalk (LocalTalk or ARA) there is a limit on the size of a DECnet
  46. packet? A limit that does not exist when you are using Ethernet hardware?
  47. It's strange, because I'm not getting any error codes.
  48.  
  49. Who tell me what is going on?
  50.  
  51. -- Thomas Fruin
  52.  
  53.    GroupWare Ltda
  54.    Temuco Office
  55.    CHILE
  56.  
  57.    thomas@camino.mic.cl
  58.  
  59.