[Haskell-cafe] Binding a socket to all interfaces

Johan Tibell johan.tibell at gmail.com
Wed Sep 21 17:04:51 CEST 2011


On Wed, Sep 21, 2011 at 7:38 PM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:

> Johan's observation is correct. Network.listenOn is alreay fixed but
> Network.Socket.listen, which Warp relies on, is not fixed yet. I will
> try to fix it. When the next version of the network library will be
> released, the problem will disappear, I hope.

We should consider how we fix this. Right now N.S.listen just wraps the
underlying system call. Is that the right place to set socket options?
Perhaps we should set them when creating the socket instead?

-- Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110922/06cd04cb/attachment.htm>

More information about the Haskell-Cafe mailing list