Thread View: net.lan
2 messages
2 total messages
Started by Special Projects Group
Thu, 31 Oct 1985 20:23
UDP on Sun and VAXen - Thanks for replies
Author: 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
Re: UDP on Sun and VAXen, HELP#3
Author: Roger M. Fujii
Date: Tue, 05 Nov 1985 04:19
Date: Tue, 05 Nov 1985 04:19
26 lines
1836 bytes
1836 bytes
> 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads