Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site rpics.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rpics!fujiirm From: fujiirm@rpics.UUCP (Roger M. Fujii) Newsgroups: net.lan,net.unix-wizards Subject: Re: UDP on Sun and VAXen, HELP#3 Message-ID: <208@rpics.UUCP> Date: Mon, 4-Nov-85 23:19:33 EST Article-I.D.: rpics.208 Posted: Mon Nov 4 23:19:33 1985 Date-Received: Thu, 7-Nov-85 05:12:33 EST References: <3781@dartvax.UUCP> Distribution: net Organization: RPI CS Department, Troy NY Lines: 26 Xref: watmath net.lan:1123 net.unix-wizards:15604 > For anyone else interested, there were two problems. The first is > that I trusted 'talk' to be correct and it's not. It does not > take into account the machine dependencies. The VAXen stores > bytes in one order and the SUN in the other so while it is a valid > address on one end, it's reversed on the other. A htons(port) > fixes that nicely. (The politest comment I heard about talk was > that it was brain-dead. The comments got a lot worse...) > > The second problem is that the UDP that came with earlier releases > of 4.2BSD aparently did not checksum UDP correctly while it seems > that SUN fixed this. The later releases of 4.2 are rumored to have > this fixed and fixes were posted to net.unix-wizards sometime last > year, I believe. > > Could someone repost the bug-fix for the checksum problem in 4.2? I'm trying to get talk to work between a SUN and a VAX. I have tried the hton....ntoh hacks, but the only thing that has accomplished is putting hair on the floor. My hair and I gives thanks in advance. Roger Fujii fujiirm%rpics.csnet@csnet-relay ARPA fujiirm@rpics CSNet fujiirm@RPI-MTS Mailnet seismo!rpics!fujiirm UUCP