[Bug 50045] [Feature request] Mapping Windows Named Pipes to Unix Domain Sockets

WineHQ Bugzilla wine-bugs at winehq.org
Fri Oct 23 17:07:39 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=50045

--- Comment #2 from Matthew <0e4ef622 at gmail.com> ---
I don't think that would help since the game uses named pipes.

The way Rich Presence works is as follows:

On Windows:

When Discord is started, it creates a named pipe at `\\.\pipe\discord-ipc-0`
and listens for connections.

When a game supporting Rich Presence is started, it connects to that pipe and
the two programs communicate using JSON.

On Linux, it's basically identical, but instead of a named pipe, it's a unix
socket in, e.g. `/tmp/discord-ipc-0`. (The actual path depends on system
configuration, but that's irrelevant).

So just implementing AF_UNIX sockets wouldn't help, the game wouldn't touch
them.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list