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