[bind10-dev] fd_share / send_fd
Michal 'vorner' Vaner
michal.vaner at nic.cz
Fri Apr 8 08:29:47 UTC 2011
Hello
On Thu, Apr 07, 2011 at 08:44:37PM +0000, Francis Dupont wrote:
> > Hmm, why can't there be two different versions, the same headers,
> > but different implementations for windows and the rest, like with
> > some #ifdef WINDOWS or something?
>
> => it is the idea but it needs to be less bound to PF_UNIX first.
What is bound to PF_UNIX? The fact we currently use PF_UNIX sockets for local
communication can be changed at the only place where we connect them, the rest
of communication should be the same. We could I hope send anything trough any
other TCP socket.
Anyway, I don't like the idea of using IP for local communication on unix
system, it's unusual and it will make admins nervous.
> > Anyway, windows don't have the /proc anyway, right?
>
> => but it provides WSADuplicateSocket() which takes the process ID
> at its second arguments. So it can be made pretty similar to
> a send_fd() using /proc (same interface, etc).
Hmm, I see. But it brings complications into the unix way.
We'll see if we can find a message bus that can transfer file descriptors for
us. In that case this problem could just go away.
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/62128594/attachment.bin>
More information about the bind10-dev
mailing list