I'm using W. Richard Stevens's book "Advanced Programming in the Unix
Environment" to explore Linux. So far, everything that's been covered
has been compilable on my Linux system.
However, I'm working on his example of an open server - a server that
opens files, sockets, etc. for it's clients. He gives three different
ways of passing file descriptors between processes using stream pipes.
Unfortunately, none of these have worked - the Berkeley implemintations
require a data structure called "struct msghdr" that's supposed to be
in socket.h, but ain't there. The SVR4 implementation is done with an
I_SENDFD parameter to ioctl, but there's no such animal on my Linux
Any help in this matter would be greatly appreciated.
Imagine there's no heaven.
It's easy if you try.
No hell below us,
And above us only sky.