# netcode-io

Bindings to the low-level netcode.io library.

http://www.github.com/Mokosha/netcode-io

 LTS Haskell 17.9: 0.0.2 Stackage Nightly 2021-04-15: 0.0.2 Latest on Hackage: 0.0.2

See all snapshots netcode-io appears in

Maintained by
This version can be pinned in stack with:netcode-io-0.0.2@sha256:f138ed244ab56e7defc8c5100cdb9d49ca015c6c71442420c143a8f4b7deaf45,4002

#### Module documentation for 0.0.2

• Bindings
• Bindings.Netcode
• Netcode
Depends on 3 packages(full list with versions):
Used by 1 package in nightly-2021-04-06(full list with versions):

# netcode-io

Haskell bindings to the netcode.io library

## Development

These bindings were developed using stack in the “usual” way. We expect that anyone building from source to use the same workflow.

### Windows

The cabal file specifies that the sodium library is required for building this package. Unfortunately, this is a bit tricky on Windows since there’s no native package manager. To use this with Windows, we recommend using MSYS2. msys2.exe has a built-in shell for using the gcc toolchain on Windows. This toolchain is compatible with the one ghc uses. Within this environment, you can install sodium using the pacman package manager:

$pacman -S mingw64/mingw-w64-x86_64-libsodium  Once installed, you can add the following lines to your global config.yaml: extra-include-dirs: - D:\msys64\mingw64\include extra-lib-dirs: - D:\msys64\mingw64\lib  Your config.yaml is located at your %STACK_ROOT% directory: C:\> stack path --stack-root C:\path\to\stack\root  ### OS X On MacOS, we can install sodium simply by using homebrew: $ brew install libsodium


## LICENSING

IANAL, but these bindings use the same license that the original library uses, so you must comply with both.