RFC: adding fd-passing to win32

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Mon Apr 18 22:03:34 UTC 2022


On Tue, 12 Apr 2022 15:15:56 +0400, Marc-André Lureau wrote:

> I am looking at implementing fd-passing for win32. I have learned
> that the way to share sockets and other objects with Windows is
> through the DuplicateHandle() and WSADuplicateSocket() calls. The
> slightly annoying thing is that unlike ancillary data, the dbus
> protocol would need to be modified to send the list of target HANDLEs
> and WSAPROTOCOL_INFOs along with the message, for each message target.

I don’t understand why D-Bus is needed for Windows. As I understand it,
D-Bus is part of the “Free Desktop” protocols. And Windows is not a
“Free Desktop”. It has its own proprietary ways of doing things,
anyway; aren’t their people still using COM, DCOM and OLE?


More information about the dbus mailing list