Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intersectmbo/win32-network
Networking library for Windows
https://github.com/intersectmbo/win32-network
haskell network windows
Last synced: about 1 month ago
JSON representation
Networking library for Windows
- Host: GitHub
- URL: https://github.com/intersectmbo/win32-network
- Owner: IntersectMBO
- License: apache-2.0
- Created: 2021-03-25T23:57:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-04T16:12:53.000Z (7 months ago)
- Last Synced: 2024-06-05T10:27:44.286Z (7 months ago)
- Topics: haskell, network, windows
- Language: Haskell
- Size: 1.72 MB
- Stars: 4
- Watchers: 29
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Asynchronous IO for Windows
`Win32-network` provides interface for asynchronous (overlapped) IO on Windows
via implemented IO manager. It supports:* `File` api
* `NamedPipes` api
* Berkeley sockets api on Windows via `winsock2``NamedPipes` provide a good alternative for the lack of Unix Sockets on
Windows, and there are ways of providing abstraction for both, though this is
not present in this package.An application which is using this package should use `-threaded` option, as
the io manager thread runs a blocking ffi call (e.g.
[GetQueuedCompletionStatus](https://docs.microsoft.com/en-us/windows/win32/api/ioapiset/nf-ioapiset-getqueuedcompletionstatus)).## Haddocks
Haddocks are available via [github-pages](https://input-output-hk.github.io/Win32-network).
## GHC Native IO Manager
A recent version of GHC has a native io-manager on Windows. Part of this
library will become obsolete once the
[network](https://hackage.haskell.org/package/network) will use it.## Acknowledgement
The initial version of this library was based on
[winio](https://hackage.haskell.org/package/winio) by Felix Martini.