[OpenAFS-devel] AF_INET byte order

Jim Rees rees@umich.edu
Tue, 13 Mar 2007 11:59:03 -0500


chas williams - CONTRACTOR wrote:

  if your fix is to remove the htons(), that is wrong.  you should just
  remove the reference to sin_family.  people get the impression that
  sin_family is actually used if you set it.

I disagree.  It may not be used in any implementation we care about today,
but can you guarantee it will never be used?