On Jun 11, 2011, at 7:30 PM, Scott Cherf wrote:

Hi Glyph -

I had to make a few trivial changes to the code but its spirit returns the following on my development machine:

[Butte:Users/cherf/tmp] cherf% bindit some.socket
bind: Operation not supported

This error seemed out of place to me (bind can fail with EOPNOTSUPP, but it isn't documented to fail with ENOTSUP, which is what you're seeing), so I looked at my original C example, and realized that I dashed it off a bit too quickly.  I've attached a more scrupulously correct version, which properly uses sockaddr_un instead of guessing how things are laid out with sockaddr.