*BSD News Article 30483


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!pipex!sunic!psinntp!psinntp!relay1!unislc!ptj
From: ptj@unislc.slc.unisys.com (Paul Johnson)
Subject: change in sockaddr struct
X-Newsreader: TIN [version 1.2 PL0]
Message-ID: <1994May13.232921.14933@unislc.slc.unisys.com>
Organization: Unisys Corporation SLC
Date: Fri, 13 May 1994 23:29:21 GMT
Lines: 9


	Between 4.3BSD and 4.4BSD the sockaddr struct changed.  (I believe it
changed in 4.3BSD Reno.)  The sa_data member is now variable-length and a
sa_len member was added.  What was the motivation for this change?  What are
the advantages of the new sockaddr struct?  What are the disadvantages of the
old sockaddr struct?  Does the 4.4BSD kernel handle the old sockaddr struct?
I would also like to ask the same questions regarding the msghdr struct.

	Any other comments on compatibility are very welcome.