Re: sendmsg SCM_RIGHTS problem

From: Andrey Savochkin (saw@saw.sw.com.sg)
Date: Mon Sep 11 2000 - 22:22:12 EST


On Mon, Sep 11, 2000 at 06:31:34PM +0600, Andrey G. Kaplanov wrote:
> Respected colleagues!
>
> I have are problem of send SCM_RIGHTS message
> through AF_UNIX socket.
> Below - examples of server and client sources.
> Sendmsg gives an error : Invalid argument.
> That I do;make wrong?

Null pointers in accept call.
See ftp://ftp.nc.orc.ru/pub/Linux/people/saw/bindd
for SCM_RIGHTS example.

Regards
                                        Andrey V.
                                        Savochkin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:17 EST