Subject: Re: bi-directional pipes?
To: Jorgen Lundman <>
From: Jachym Holecek <>
List: tech-kern
Date: 02/05/2003 03:34:19
On Wed, Feb 05, 2003 at 11:15:35AM +0900, Jorgen Lundman wrote:
> I must admin I have used, and do use, bi-directional pipes. I like the 
> idea of sitting in a select() / poll() for all my IO, sockets, files and 
> child/spanwed processes, and using both read() and write() on the one 
> socket. To be portable I then have to either;
> - use two pipes just for child/spawned process communication
> - use socketpair() to ensure bi-directional.

- use PF_LOCAL sockets (or any PF_* suitable for your application).

Or do I miss something?

	-- Jachym Holecek