Use Unix Domain Sockets on Windows Python: Building an AF_UNIX Compatibility API (opens in new tab)
Python provides socket.AF_UNIX, asyncio.open_unix_connection(), and asyncio.start_unix_server() for working with Unix Domain Sockets on Unix-like operating systems. On Windows, however, support for Unix Domain Sockets tends to depend on the Python version and runtime environment. In particular, differences become apparent when trying to use the higher-level asyncio APIs in the same way as on Unix. To address this, I created a compatibility layer that hides the differences between Unix and Win...
Read the original article