Subject: Re: Bind to local iface: bug or feautre.
To: Jesus M. Gonzalez <>
From: Charles M. Hannum <>
List: tech-net
Date: 11/26/1996 12:40:33
"Jesus M. Gonzalez" <> writes:

> 	Any more opoinions about this being a bug?

It is, in fact, not a bug.  It's been the documented behaviour of
sockaddr_in for a very long time.

This was originally because sockaddrs were always the same size and
were compared with bcmp().  This is no longer the case, and arguably
the behaviour should be changed so that it doesn't compare sin_zero.
However, doing this does not change the fact that the program in
question is broken.