Date: Mon, 18 Mar 1996 10:37:28 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: steve@icis.qut.edu.au (Steve Milliner) Cc: questions@FreeBSD.org Subject: Re: Domain sockets / passing fd Message-ID: <199603180007.KAA21238@genesis.atrad.adelaide.edu.au> In-Reply-To: <199603150557.PAA09189@russell.icis.qut.edu.au> from "Steve Milliner" at Mar 15, 96 03:57:36 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Milliner stands accused of saying: > > I'm trying to run some sockets programs on my FreeBsd PC - but can't > figure out the msghdr structure (I keep getting invalid parameter > errors at run time) -- can anybody supply me with a function for > passing and receiving file descriptors using sendmsg and recvmsg > (comparable with Stevens "sendfile" & "recvfile") ?? I'm not sure I understand your problem. How about posting a code fragment that encapsulates your woes so we can have a look at it? AFAICS the Stevens example works 'out of the box'. (Make sure you're reading chapter 6, not 7 8) > 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?199603180007.KAA21238>