unix socket

  1. zirias@

    C Behavior of connect() with O_NONBLOCK on a Unix domain socket

    For a service that can optionally listen on a local (Unix) socket, I want to implement detection of a "stale" socket, so it can startup without user intervention in this case by just unlinking the stale socket. As my service is designed around an event loop using pselect, I put all sockets into...
  2. J

    How to send a message to a unix domain socket on the command line?

    Hello, I'm trying so send my nginx logs to syslog-ng via a unix socket. It doesn't work (otherwise I wouldn't be posting). I think nginx doesn't send anything to the socket, but I'd like to check if, when I send something to the socket, something can be received on the other end. How would I...