I am writing a UDF for sending messages to a local daemon. I've been
trying to make it use a UNIX socket, but it keeps segfaulting on
connect() or sendto(). I have double and tripled checked everything,
but I'm not finding anything.
After a day or two, I finally decided to switch to UDP and writing to
localhost instead, which works fine. I still feel writing to a UNIX
socket ought to work and even if I've got a permission issue or
similar, a segfault is not the appropriate handling. Any clues?
--
Per Jessen, Zürich (16.5°C)