[systemd-devel] accept() and socket activation

David Strauss david at davidstrauss.net
Mon Oct 14 10:45:30 PDT 2013


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
   | david at davidstrauss.net
   | +1 512 577 5827 [mobile]


More information about the systemd-devel mailing list