Skip to content

No ReusePort in network- #7

tibbe opened this Issue Apr 5, 2011 · 4 comments

3 participants

Haskell member
tibbe commented Apr 5, 2011

ppavel reports that "network- coming with haskell platform 2011.2.0.0 does not have ReusePort? constructor in SocketOption? type under windows".

Haskell member
tibbe commented Apr 5, 2011

We conditionally export ReuseAddr and apparently autoconf doesn't detect SO_REUSEADDR support on your platform. Not sure why.

    | ReuseAddr {- SO_REUSEADDR -}

This exact error won't happen anymore. It would still be concerning if some socket options were not detected, though.

Haskell member
tibbe commented Sep 27, 2012

I need someone with a Windows machine to investigate this.

iquiw commented Oct 14, 2013

It seems SO_REUSEPORT does not exist in WinSock.

With network- of HaskellPlatform-2013.2.0.0

Prelude Network.Socket> isSupportedSocketOption ReuseAddr
Prelude Network.Socket> isSupportedSocketOption ReusePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.