Project

General

Profile

Actions

Feature #19135

closed

Support `UNIXSocket` on Windows

Added by ioquatix (Samuel Williams) about 2 years ago. Updated about 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:110800]

Description

In recent versions of Windows, the required parts are now supported: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/

This enables UNIXSocket, UNIXServer and UNIXSocket.pair on Windows. The anonymous socket is emulated on Windows using a temporary file, but it's good enough and the best we can do. The semantics is not completely identical.

Because these constants are now available, more tests are run on Windows.

Updated by ioquatix (Samuel Williams) about 2 years ago

  • Status changed from Open to Closed

It was merged.

Updated by ioquatix (Samuel Williams) about 2 years ago

I would like to share this credit with @larskanis (Lars Kanis) who was instrumental to getting this PR over the finish line. It was a true team effort with hard compatibility challenges.

Actions

Also available in: Atom PDF

Like1
Like0Like0Like0