One of the biggest pains with accept() for socket activation is
supporting IPv4, IPv6, and Unix domain socket simultaneously while
being able to log useful information about the client.

Is there a straightforward way, using either existing libraries or
functions withing systemd, to do this without *any* conditionals for
the different types? Basically, I'd like to get just a string
describing the client origin.

-- 
David Strauss
   | da...@davidstrauss.net
   | +1 512 577 5827 [mobile]
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to