[systemd-devel] accept() and socket activation
David Strauss
david at davidstrauss.net
Mon Oct 14 11:47:00 PDT 2013
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 useful for socket-activated apps to be able to work with
(and log) any type of stream socket client transparently.
More information about the systemd-devel
mailing list