It works if you put a waitpid() in there, but if that is true, what's the
point of having ke.data returning the status when the wait() series will do
it?

On Fri, Jun 16, 2017 at 8:27 AM Luke Small <[email protected]> wrote:

> Thanks! I was hesitant to use recv, since I use it in socketpairs in my
> project.
>
> On Fri, Jun 16, 2017 at 10:09 AM Todd C. Miller <[email protected]>
> wrote:
>
>> You cannot use recv on a pipe, it will fail with ENOTSOCK.
>> Use read/write or try socketpair() instead.
>>
>>  - todd
>>
>

Reply via email to