On Tue, Aug 21, 2012 at 8:37 AM, Lennart Poettering
<lenn...@poettering.net> wrote:
> Right now we do offer calls that can match file descriptors against
> (parts of) socket addresses. If an app wants to query the current bound
> adress it can call getsockname(), but yupp, raw socket API calls are
> sometimes a bit ugly. Do you have any particular call in mind you'd like
> to see added to sd-daemon.[ch]?
>
> [snip]
>
> But that's what getsockname() does. Do you need more?

I'll take a fresh look at these options. I'm pretty new to C-based
socket programming, so I'm not surprised if I overlooked something you
might consider obvious.

-- 
David Strauss
   | da...@davidstrauss.net
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to