Subject: Re: bi-directional pipes?
To: None <email@example.com>
From: Matthew Mondor <firstname.lastname@example.org>
Date: 02/10/2003 16:06:10
On Wed, Feb 05, 2003 at 11:15:35AM +0900, Jorgen Lundman wrote:
> - use two pipes just for child/spawned process communication
> - use socketpair() to ensure bi-directional.
> As it happens I tend to go for tha latter as it will work under Win32 as
> well (manual socketpair though) with nonblocking etc.
I also generally use the latter, as I can also create AF_LOCAL datagram
based ones rather than stream-based ones where wanted, which depending on
implementation can make a performance difference... The other reason is
compatibility and portability, like yours