[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-devel
Subject:    Re: [Bacula-devel] [PATCH] Implement systemd socket activation
From:       Martin Simmons <martin () lispworks ! com>
Date:       2011-05-04 10:29:09
Message-ID: 201105041029.p44AT9hN017672 () higson ! cam ! lispworks ! com
[Download RAW message or body]

>>>>> On Sat, 30 Apr 2011 21:00:02 +0200, Michael Stapelberg said:
> 
> There is one little problem in the code, though (flagged as XXX):
> in src/lib/bnet_server.c, when creating a new bsock object for a connection,
> the port to which the client connected is stored. When using systemd socket
> activation, we don't have this information (maybe we can get it from the
> listening socket, though).

You can call getsockname to get it.

__Martin

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic