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
Matt