title: Writing to AF_LOCAL socket on Mac OS X from shell script
body: <p>I have a Mac OS X app that creates an AF_LOCAL socket (/tmp/app.sock). Is there a way to write to this type of socket from a shell script? I've tried the obvious ("echo xxx > /tmp.app.sock") and some less obvious ("exec 3 &lt;> /tmp/app.sock"), but I don't seem to be getting anywhere. Is there a trick to this, or should I just bite the bullet and write a few lines of C or Java to do what I need? Thanks!</p>