[Haskell-cafe] Binding a socket to all interfaces

Johan Tibell johan.tibell at gmail.com
Wed Sep 28 19:21:32 CEST 2011


I've released a new version of network, 2.3.0.6, that contains the fix.

On Wed, Sep 28, 2011 at 1:34 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:

> Hello,
>
> Sorry for the delay but I made a patch and sent a pull request:
>
>        https://github.com/haskell/network/pull/18
>
> After consideration, I realized that Johan's opinion is better.
> Please read the comment of this request above.
>
> When the next network package will be released, this problem will
> disappear, I hope. We don't have to change Warp at all.
>
> --Kazu
>
> > Hi,
> >
> >> 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?
> >
> > Yes, of course.
> >
> > If I remember correctly, this option works only between socket() and
> > listen(). I need to check that this option is effective to all sockets
> > or only to listing sockets. Anyway, I will try this in the next week.
> >
> > I used to be an expert of IPv6 but I forget many things recently...
> > I should remember.
> >
> > --Kazu
> >
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110928/848fe100/attachment.htm>


More information about the Haskell-Cafe mailing list