Skip to content

Deno.listen w/ unix transport on Windows #18236

Open
@Hexagon

Description

@Hexagon

Not sure if this is supposed to work or not, but I'll give it a shot:

const listener = Deno.listen({ 
    path: "c:\\temp\\my.sock",
    transport: "unix"
});

listener.close()

error: Uncaught TypeError: ops.op_net_listen_unix is not a function

> deno --version deno 1.31.3 (release, x86_64-pc-windows-msvc)

(Windows 10)

C:\WINDOWS\system32>sc query afunix

SERVICE_NAME: afunix
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions