UDP on Sun and VAXen, HELP#3

Roger M. Fujii fujiirm at rpics.UUCP
Tue Nov 5 14:19:33 AEST 1985


> 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 at csnet-relay    ARPA
fujiirm at rpics                      CSNet
fujiirm at RPI-MTS                    Mailnet
seismo!rpics!fujiirm               UUCP



More information about the Comp.unix.wizards mailing list