Date: 30 Jan 1999 12:46:28 -0500 From: Cory Kempf <ckempf@enigami.com> To: Jamie Howard <howardjp@dragon.ham.muohio.edu>, freebsd-hackers@FreeBSD.ORG Subject: Re: socketpair(2) Message-ID: <x7hft8fybv.fsf@singularity.enigami.com> In-Reply-To: Jamie Howard's message of "Sat, 30 Jan 1999 12:26:01 -0500 (EST)" References: <Pine.LNX.4.05.9901301218280.12109-100000@dragon.ham.muohio.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Jamie Howard <howardjp@dragon.ham.muohio.edu> writes: > Since I have need of socketpair(2) supporting PF_INET, it seemed like a > logical place to try this out. socketpair(2) only works with unix domain sockets, not inet domain sockets. It is a hack to allow the creation of pair of connected sockets. This is only useful when both client and server live on the same machine. If you want internet domain sockets, you will need to go throught the socket/bind/connect/listen/accept mechanism. See the BUGS section of the man page. +C -- Thinking of purchasing RAM from the Chip Merchant? Please read this first: <http://www.enigami.com/~ckempf/chipmerchant.html> Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com <http://www.enigami.com/~ckempf/> 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?x7hft8fybv.fsf>