Date: Mon, 18 Mar 1996 15:50:16 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: steve@icis.qut.edu.au (Steve Milliner) Cc: msmith@atrad.adelaide.edu.au, questions@FreeBSD.org Subject: Re: Domain sockets / passing fd Message-ID: <199603180520.PAA23731@genesis.atrad.adelaide.edu.au> In-Reply-To: <199603180453.OAA11077@russell.icis.qut.edu.au> from "Steve Milliner" at Mar 18, 96 02:53:07 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Milliner stands accused of saying: > Hmmmmm -- now I'm confused, because althouh the Stevens code works > fine on the Sparc and HP machines (always has), it does not even > compile on my FreeBsd machine -- basically becasue the struct msghdr > has been changed in the socket.h header, and doesn't have the > "msg_accrights" and "msg_accrightslen" fields any more ... so how > did you get the Stevens example to work They're called 'msg_control' and 'msg_controllen', see recv(2). I don't know why they have different names to the SunOS versions; I suspect it has a lot to do with SunOS being based on 4.2/4.3BSD, wheras the version in FreeBSD is from 4.4. I don't have a copy of 4.4lite to check with though. Anyone care to comment on the renaming? Could we perhaps have some compatability macros for cases like this? > REgs Stephen Milliner -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603180520.PAA23731>