Right now, I'm just using inet_ntop() for IP clients and nothing for
other types, but this does the annoying IPv6-mapped-IPv4 formatting.
instance_from_socket() in socket.c has some nice checks for this so
IPv4 comes out as a dotted quad, but maybe we should move that to
shared code?
It would be u
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