"Sylvain Kerjean" <sylvain_kerjean@xxxxxxxxxxx> wrote: > i think to implement unix sockets (AF_UNIX domain) in the following > fashion [...] > Do you think this should be allright ? > Other questions : > -where can i find the source of the ioctl() function in the source > tree ? It > seems to do all the work in the socket() function. ioctl() is defined in posix/unistd.h, and therefore, you can expect to find it in the tree in src/system/libroot/posix/unistd/ioctl.c - but you don't need this function as all what it does is to forward the request to the underlying device. The networking stack is implemented as a kernel device. Maybe you should contact Philippe first, because he can definitely tell you how to do this properly. Bye, Axel.