[bind10-dev] fd_share / send_fd
Michal 'vorner' Vaner
michal.vaner at nic.cz
Fri Apr 8 15:33:41 UTC 2011
Hello
On Fri, Apr 08, 2011 at 09:55:18AM -0400, Danny Mayer wrote:
> Normally I would have implemented this through pipes. Domain sockets
> don't port so on projects like this you need to avoid using them.
Pipes are unidirectional. We need to pass data both ways, so we would need to
create two pipes for each channel.
> The real question is why are you transferring file descriptors at all?
> Or socket descriptors in this case. They are different on Windows. We
> need to understand the purpose and not just say we need to do this.
One process listens on 53, and it is the authoritative server. But then a
connection requesting a zone transfer can come and it needs to be passed into
another process handling these.
The other reason will not be valid on windows, so we can ignore it (creating
privileged sockets).
With regards
--
2 keys should be enough for everyone
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20110408/d43068fa/attachment.bin>
More information about the bind10-dev
mailing list