FelixSiegel / pythonRPC

A fully typed discord rich presence wrapper written in python.
MIT License
0 stars 0 forks source link

[FR]: Implement IPC Connection (Linux/macOS) #4

Open FelixSiegel opened 1 month ago

FelixSiegel commented 1 month ago

It's required to create an inter-process communication (IPC) mechanism that works on both Linux/macOS and Windows platforms, as the Discord Rich Presence relies on this.

The first step, and goal of this feature request, is to implement the linux/macOS part. To achieve this, Unix somain sockets are commonly used.

For more informations about Unix domain sockets and how to implement them, see the following sources:

FelixSiegel commented 1 month ago

Decided to write this libary as a python extension module, for easier system related work (unix domain sockets) and more efficiency (even if not really required, as it is just sending & recieving small bytes containing text to the discord ipc interface)