Date: Sat, 29 Aug 1998 22:24:42 -0700 (PDT) From: Alex Belits <abelits@phobos.illtel.denver.co.us> To: Craig Anderson <chanders@timing.com> Cc: freebsd-hackers@FreeBSD.ORG, brhall@timing.com Subject: Re: Help with passing fd on FreeBSD Message-ID: <Pine.LNX.4.02A.9808292150540.19313-100000@phobos.illtel.denver.co.us> In-Reply-To: <199808281426.IAA10588@count.timing.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Aug 1998, Craig Anderson wrote: > Can someone give me pointers on passing open file descriptors on FreeBSD? > This is covered in W. Richard Stevens Advanced programming book, but See R. Stevens "TCP/IP Illustrated", volume 3, chapter 18.3 or R. Stevens "Unix Network Programming", second edition (1997), volume 1, chapter 14.7. Previous books describe 4.3BSD and SVR4 fd passing that is more than slightly different. > the structs in FreeBSD are slightly different, and I've never done this. In FreeBSD CMSG_DATA(cm) macro is the equivalent to cm->cmsg_data that is commented out in include files in 4.4BSD-derived, but exists in other compatible systems. Beware of the known bug in FreeBSD kernel (PR kern/4345). -- Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.02A.9808292150540.19313-100000>