cosmopolitan icon indicating copy to clipboard operation
cosmopolitan copied to clipboard

Unix socket on windows is broken (when path is absolute path like /tmp/socket)

Open codehz opened this issue 2 years ago • 1 comments

NOTE: the unix socket does works on windows (win 10 1809+), if the path is relative one currently using unix socket on windows get ENETDOWN, it is because winsock api requires a Windows-style path, but cosmopolitan pass the original filename(sun_path) into the application, which cause above error

it is another blocker for tmux (it use path /tmp/tmux-xxxx

codehz avatar Dec 12 '23 03:12 codehz

@jart I've created pr for this

codehz avatar Dec 13 '23 17:12 codehz