Article View: net.lan
Article #24UDP on Sun and VAXen - Thanks for replies
From: Special Projects Group
Date: Thu, 31 Oct 1985 20:23
Date: Thu, 31 Oct 1985 20:23
33 lines
1848 bytes
1848 bytes
Many thanks to all those that replied to my problems with UDP and
with talk (which uses UDP.) I started to reply in person to everyone
but was being flooded, so ...
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.
So, again, thanks for all the help.
--
David C. Kovar -- Special Projects Group
USNET: {linus|decvax|cornell|astrovax}!dartvax!networks
ARPA: networks%dartmouth@csnet-relay
CSNET: networks@dartmouth
US Mail: Kiewit Computation Center
Dartmouth College
Hanover NH
03755
Phone: (603) 646-3144
Technical Details
Message-ID:
<3781@dartvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!dartvax!networksShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site dartvax.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!dartvax!networks From: networks@dartvax.UUCP (Special Projects Group) Newsgroups: net.lan,net.unix-wizards Subject: UDP on Sun and VAXen - Thanks for replies Message-ID: <3781@dartvax.UUCP> Date: Thu, 31-Oct-85 15:23:14 EST Article-I.D.: dartvax.3781 Posted: Thu Oct 31 15:23:14 1985 Date-Received: Sat, 2-Nov-85 07:22:06 EST Distribution: net Organization: Dartmouth College, Hanover, NH Lines: 34