IntersectMBO / IntersectMBO/ouroboros-network

Improve wsaFailWith on Windows

Open
#1,424 0 comments 0 reactions 0 assignees View on GitHub
technical debt Windows
Dominant language
Haskell
Stars
296
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
4

Description

Currently we relay on `failWith`, but that function is using `errtable` from `base/cbits/Win32Utils.c` which does not contain WSA error codes.

One place where we could benefit from this now is [here](https://github.com/input-output-hk/ouroboros-network/blob/6df9bdbd4943617dd27a2055b922c81a77d42070/Win32-network/test/Test/Async/Socket.hs#L135).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.