Does a pipe take a socket ... ?

Pietro Cerutti gahr at gahr.ch
Tue May 15 21:31:21 UTC 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070515/7910b834/signature.pgp


More information about the freebsd-questions mailing list