I'm running Fedora 13 if that matters.
I looked up man pages on unix(7), setsockopt, and send/recv.
Reading the man pages seems to more or less tell me that not all options are guaranteed to do ANYTHING... and apparently only a few that do/don't work are actually documented.
In particular... I wanted to see if timeouts were possible. At least on my system, SO_RCVTIMEO actually sets a timout for the recv family of calls... but SO_SNDTIMEO puts the socket seems to set it to non-blocking mode w/ no timeout.
So my question is... what can I do to workaround the fact that setsockopt isn't a reliable way to work with timeouts on AF_UNIX sockets?