> > Hi, all. With 2.1.97 I get "Socket operation on non-socket" when I
> > use sendmsg(2) to transfer a FD over a pipe. Transferring over a Unix
> > socket works fine.
>
> AFAIK sendmsg is only defined to work for pipes.
sendmsg must work over sockets -- this is how BSD fd passing is done.
-- Alex
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu