Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2007 23:31:14 +0200
From:      Pietro Cerutti <gahr@gahr.ch>
To:        freebsd-questions@freebsd.org
Subject:   Re: Does a pipe take a socket ... ?
Message-ID:  <464A26A2.40200@gahr.ch>
In-Reply-To: <200705151827.l4FIR9Yk007652@apollo.backplane.com>
References:  <200705151714.l4FHEEhH030766@lurza.secnetix.de> <200705151827.l4FIR9Yk007652@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Matthew Dillon wrote:
>     Nuh uh.  pipe() is a direct implementation... no sockets anywhere.
> 
>     Using socketpair() will eat sockets up, but using pipe() will not.

Right.
Just for reference, I'd suggest to read the heading comments on:

/usr/src/sys/kern/sys_pipe.c

> 
> 					-Matt



-- 
Pietro Cerutti

PGP Public Key ID:
http://gahr.ch/pgp


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGSianwMJqmJVx944RCqrFAKDRbV/VV2+trog3MDIlvbtapb5bOwCfd+2J
1itQSa5mINa7Izq06/JpP90=
=L+kU
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?464A26A2.40200>