Subject: Re: Bind to local iface: bug or feautre.
To: Jesus M. Gonzalez <jgb@gsyc.inf.uc3m.es>
From: Charles M. Hannum <mycroft@gnu.ai.mit.edu>
List: tech-net
Date: 11/26/1996 12:40:33
"Jesus M. Gonzalez" <jgb@gsyc.inf.uc3m.es> 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.